From 9bdf1616c6f1360658c7a97c0d7e681a932b4ee7 Mon Sep 17 00:00:00 2001 From: Mihael Koep Date: Thu, 21 Mar 2013 12:08:14 +0100 Subject: Improve libuca package compatibility with RPM systems. --- package.sh.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package.sh.in') 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 -- cgit v1.2.3