~ubuntu-branches/ubuntu/precise/kdewebdev/precise-updates

« back to all changes in this revision

Viewing changes to .pc/01_no_need_to_have_interpreter_to_install_examples.diff/klinkstatus/src/plugins/scripting/scripts/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Debian Qt/KDE Maintainers, José Manuel Santamaría Lema
  • Date: 2011-05-26 02:41:42 UTC
  • mfrom: (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110526024142-bdwuzrwd10pv0cio
Tags: 4:4.6.3-1
* New upstream release.

[ José Manuel Santamaría Lema ]
* Bump kde-sc-dev-latest build dependency to 4:4.6.3.
* Bump Standards-Version to 3.9.2; no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
install(FILES
2
 
    scripts.rc
3
 
    DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/scripts)
4
 
 
5
 
macro_optional_find_package(RUBY)
6
 
macro_log_feature(RUBY_FOUND "Ruby" "An Interpreted object-oriented scripting language" "http://www.ruby-lang.org" FALSE "" "For KLinkStatus example ruby scripts")
7
 
 
8
 
if(RUBY_FOUND)
9
 
    
10
 
    include_directories(${RUBY_INCLUDE_PATH})
11
 
 
12
 
    install(FILES 
13
 
        examples/statistics/statisticsui.ui
14
 
        DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/scripts)
15
 
        
16
 
    install(PROGRAMS
17
 
        examples/statistics/statistics.rb 
18
 
        DESTINATION ${DATA_INSTALL_DIR}/klinkstatus/scripts)
19
 
        
20
 
endif(RUBY_FOUND)
21
 
 
22