osmith@luciddev:~/pn/WW2/src$ cmake --version
cmake version 2.8.2
I can't see to get "make package" to generate Debian packages that
install any place but /usr/bin. (I actually want them in
/playnet/ra/bin, /playnet/ra/lib and so on)
SET(CPACK_GENERATOR "DEB")
SET(CPACK_INSTALL_PREFIX "/playnet/ra")
SET(CPACK_PACKAGE_INSTALL_PREFIX "/playnet/ra")
SET(CPACK_DEBIAN_INSTALL_PREFIX "/playnet/ra")
SET(CPACK_PACKAGE_VERSION
"${REPO_WC_REVISION}.${CMAKE_BUILD_TYPE}-${WW2_TARGET_ENV}")
SET(CPACK_PACKAGE_NAME "servers")
SET(CPACK_PACKAGE_VENDOR "Cornered Rat Software")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Game servers")
SET(CPACK_PACKAGE_DESCRIPTION "'Game servers and tools.")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oliver Smith")
SET(CPACK_DEBIAN_PACKAGE_INSTALL_PREFIX "/playnet/ra")
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libopenthreads-dev (>= 2.8.3-4),
lua5.1 (>= 5.1.4-5), libmysqlclient16 (>= 5.1.49), bash (>= 4.1),
gdb (>= 7.2), nfs-common, mysql-server (>= 5.1), nfs-kernel-server")
SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Game servers")
SET(CPACK_DEBIAN_PACKAGE_SECTION "Network")
SET(CPACK_DEBIAN_PACKAGE_PRIORITY "Important")
SET(CPACK_DEBIAN_PACKAGE_RECOMMENDS "vim, mysql-client (>= 5.1),
python (>= 2.6.6)")
SET(CPACK_DEBIAN_PACKAGE_SUGGESTS "lvm2, perl (>= 5.1)")
I've played with a half dozen other variable name combinations, but it
still all goes into /usr.
- Oliver
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake