<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    osmith@luciddev:~/pn/WW2/src$ cmake --version<br>
    cmake version 2.8.2<br>
    <br>
    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)<br>
    <br>
    <blockquote>SET(CPACK_GENERATOR "DEB")<br>
      SET(CPACK_INSTALL_PREFIX "/playnet/ra")<br>
      SET(CPACK_PACKAGE_INSTALL_PREFIX "/playnet/ra")<br>
      SET(CPACK_DEBIAN_INSTALL_PREFIX "/playnet/ra")<br>
      SET(CPACK_PACKAGE_VERSION
      "${REPO_WC_REVISION}.${CMAKE_BUILD_TYPE}-${WW2_TARGET_ENV}")<br>
      SET(CPACK_PACKAGE_NAME "servers")<br>
      SET(CPACK_PACKAGE_VENDOR "Cornered Rat Software")<br>
      SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Game servers")<br>
      SET(CPACK_PACKAGE_DESCRIPTION "'Game servers and tools.")<br>
      SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oliver Smith")<br>
      SET(CPACK_DEBIAN_PACKAGE_INSTALL_PREFIX "/playnet/ra")<br>
      SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libopenthreads-dev (&gt;=
      2.8.3-4), lua5.1 (&gt;= 5.1.4-5), libmysqlclient16 (&gt;= 5.1.49),
      bash (&gt;= 4.1), gdb (&gt;= 7.2), nfs-common, mysql-server (&gt;=
      5.1), nfs-kernel-server")<br>
      SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Game servers")<br>
      SET(CPACK_DEBIAN_PACKAGE_SECTION "Network")<br>
      SET(CPACK_DEBIAN_PACKAGE_PRIORITY "Important")<br>
      SET(CPACK_DEBIAN_PACKAGE_RECOMMENDS "vim, mysql-client (&gt;=
      5.1), python (&gt;= 2.6.6)")<br>
      SET(CPACK_DEBIAN_PACKAGE_SUGGESTS "lvm2, perl (&gt;= 5.1)")<br>
      <br>
    </blockquote>
    I've played with a half dozen other variable name combinations, but
    it still all goes into /usr.<br>
    <br>
    - Oliver<br>
  </body>
</html>