Changeset 5c9f5e5


Ignore:
Timestamp:
08/21/09 17:12:56 (4 years ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('2.0', '0b4fd7477e6d153e12b58a090dbdd47e825aac4a')('light-2.0', 'a53e1e1ce5104640a0fe516f60ccd61c37e465dc')
Children:
018a293b14598edf2212bf856ad7a35007d6404d
Parents:
c4224fb39fed86fe533e6d115911bdfb370be18b
git-author:
Micke Prag <micke.prag@telldus.se>2009-08-21 15:12:56+00:00
git-committer:
Micke Prag <micke.prag@telldus.se>2009-08-21 15:12:56+00:00
Message:

Created some rules for CPack

Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r86ff00 r5c9f5e5  
    66 
    77SET(PACKAGE_VERSION 2.0.0) 
     8SET(PACKAGE_SUBVERSION beta1) 
    89SET(PACKAGE_SOVERSION 2) 
    910 
    10 SET(DISPLAYED_VERSION 2.0.0_beta1) 
     11SET(DISPLAYED_VERSION "${PACKAGE_VERSION}_${PACKAGE_SUBVERSION}") 
    1112 
    1213SET(BUILD_LIBTELLDUS-CORE       TRUE    CACHE BOOL "Build libtelldus-core") 
     
    3334endif(BUILD_RFCMD) 
    3435 
     36########## CPack ############# 
     37SET(CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME}) 
     38SET(CPACK_PACKAGE_VERSION "${PACKAGE_VERSION}${PACKAGE_SUBVERSION}") 
     39SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") 
     40SET(CPACK_PACKAGE_CONTACT "Micke Prag <micke.prag@telldus.se>") 
     41SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Utilities for a Telldus TellStick") 
     42SET(CPACK_PACKAGE_DESCRIPTION "Utilities and driver to control NEXA and other RF remote receivers through a TellStick USB interface") 
     43SET(CPACK_PACKAGE_VENDOR "Telldus Technologies AB") 
     44SET(CPACK_STRIP_FILES "usr/bin/tdtool;usr/bin/rfcmd") 
     45# SET(CPACK_PACKAGE_INSTALL_DIRECTORY "") 
     46# SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") 
     47 
     48#### .deb #### 
     49SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.7-1), libconfuse0 (>=2.6-2), udev") 
     50SET(CPACK_DEBIAN_PACKAGE_SECTION "utils") 
     51SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/debian/postinst;${CMAKE_CURRENT_SOURCE_DIR}/debian/postrm") 
     52 
     53INCLUDE(CPack) 
Note: See TracChangeset for help on using the changeset viewer.