[CMake] [CMake/CPack] empty debian package
Jerome Arbez-Gindre
jerome.arbez-gindre at laposte.net
Thu Mar 27 12:58:53 EDT 2008
Hi,
I am using the CVS version of CMake and I would like to use CMake only for
its Packaging capabilities.
My project consists on only one bash script (which is not compile ;-) called
for example "myscript".
SET(PACKAGE_NAME myscript)
SET(PACKAGE_VERSION 1.0)
#
# Cpack configuration
#
INSTALL(PROGRAMS myscript
DESTINATION ${CMAKE_INSTALL_PREFIX}/sbin)
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An spectacular shell script")
SET(CPACK_PACKAGE_VENDOR "Me")
SET(CPACK_GENERATOR DEB)
SET(CPACK_PACKAGE_NAME ${PACKAGE_NAME})
SET(CPACK_PACKAGE_VERSION ${PACKAGE_VERSION})
SET(CPACK_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_SYSTEM_NAME ${CMAKE_SYSTEM_NAME})
SET(CPACK_SOURCE_PACKAGE_FILE_NAME
"${CPACK_PACKAGE_NAME}-${PACKAGE_VERSION}-src")
SET(CPACK_SOURCE_IGNORE_FILES
"CMakeFiles;\\\\.tar\\\\.gz$;/_CPack_Packages/;CMakeCache;\\\\.o$;\\\\.so$;/CVS/;/\\\\.svn/;\\\\.swp$;\\\\.#;/#;.*~;cscope.*")
SET(CPACK_PACKAGE_CONTACT "me at myplace.com")
#
# .rpm and .deb packaging tools
#
SET(CPACK_DEB "ON")
INCLUDE(CPack)
after a "cmake ." call,
a "make package-source" provides me a correct source package.
but a "make package" provides me an empty debian files.
Thanks in advance for your expertise.
Jérôme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080327/6e8b6143/attachment-0003.htm>
More information about the CMake
mailing list