diff options
author | Mihael Koep <koep@schneide.com> | 2013-03-21 12:08:14 +0100 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2013-03-21 12:08:14 +0100 |
commit | 9bdf1616c6f1360658c7a97c0d7e681a932b4ee7 (patch) | |
tree | 89d5d51904286e778a3ead0dcd49dd360843300f /package.sh.in | |
parent | b9bfef1a6032e0ce0cc8f9cc95a28121a17331ce (diff) | |
download | uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.gz uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.bz2 uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.tar.xz uca-9bdf1616c6f1360658c7a97c0d7e681a932b4ee7.zip |
Improve libuca package compatibility with RPM systems.
Diffstat (limited to 'package.sh.in')
-rw-r--r-- | package.sh.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package.sh.in b/package.sh.in index 7c15b78..b9ac673 100644 --- a/package.sh.in +++ b/package.sh.in @@ -1,5 +1,7 @@ -cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;libraries;/" -cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;headers;/" -D CPACK_PACKAGE_FILE_NAME="libuca-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}-devel" +HEADERS_POSTFIX="devel" + +cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;libraries;/" -D CPACK_PACKAGE_VERSION=${UCA_VERSION_STRING} +cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;headers;/" -D CPACK_PACKAGE_NAME="${CPACK_PACKAGE_NAME}-$HEADERS_POSTFIX" -D CPACK_PACKAGE_FILE_NAME="${CPACK_PACKAGE_NAME}-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}-$HEADERS_POSTFIX" # Build packages for all available cameras for shell_script in `find -name 'package-plugin-*.sh'`; do |