diff options
author | Mihael Koep <koep@schneide.com> | 2013-03-19 12:16:20 +0100 |
---|---|---|
committer | Mihael Koep <koep@schneide.com> | 2013-03-19 12:16:20 +0100 |
commit | 975a9a965f54e7a3461ea5d0d98191199e8f129b (patch) | |
tree | 22942a2387fcb20499372d5404222598fb081f92 /plugins/package-plugin.sh.in | |
parent | bc7527f2e2c22a0f27c73a4086fe51d12504c826 (diff) | |
download | uca-975a9a965f54e7a3461ea5d0d98191199e8f129b.tar.gz uca-975a9a965f54e7a3461ea5d0d98191199e8f129b.tar.bz2 uca-975a9a965f54e7a3461ea5d0d98191199e8f129b.tar.xz uca-975a9a965f54e7a3461ea5d0d98191199e8f129b.zip |
Build package flags inside package-plugin.sh.in
This will use the information provided by each plugin.
Conflicts:
plugins/dexela/CMakeLists.txt
plugins/package-plugin.sh.in
Diffstat (limited to 'plugins/package-plugin.sh.in')
-rw-r--r-- | plugins/package-plugin.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/package-plugin.sh.in b/plugins/package-plugin.sh.in index 796517e..cdbd4dd 100644 --- a/plugins/package-plugin.sh.in +++ b/plugins/package-plugin.sh.in @@ -1 +1,4 @@ -cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;${UCA_CAMERA_NAME};/" -D CPACK_PACKAGE_FILE_NAME="uca-plugin-${UCA_CAMERA_NAME}-${UCA_VERSION_STRING}-${PLUGIN_VERSION}-${PLUGIN_REVISION}" -D CPACK_PACKAGE_NAME="uca-plugin-${UCA_CAMERA_NAME}" -D CPACK_RPM_PACKAGE_SUMMARY="${PLUGIN_SUMMARY}" -D CPACK_PACKAGE_VERSION="${PLUGIN_VERSION}" -D CPACK_RPM_PACKAGE_RELEASE="${PLUGIN_REVISION}" -D CPACK_RPM_CHANGELOG_FILE=${PLUGIN_CHANGELOG} -D CPACK_RPM_PACKAGE_REQUIRES="${PLUGIN_REQUIRES}" -D CPACK_RPM_PACKAGE_DESCRIPTION="${PLUGIN_DESCRIPTION}" -D CPACK_RPM_PACKAGE_VENDOR="${PLUGIN_VENDOR}" +FILE_NAME_FLAG="-D CPACK_PACKAGE_FILE_NAME=uca-plugin-${UCA_CAMERA_NAME}-${UCA_VERSION_STRING}-${PLUGIN_VERSION}-${PLUGIN_REVISION}" +PACKAGE_NAME_FLAG="-D CPACK_PACKAGE_NAME=uca-plugin-${UCA_CAMERA_NAME}" + +cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;${UCA_CAMERA_NAME};/" $FILE_NAME_FLAG $PACKAGE_NAME_FLAG -D CPACK_RPM_PACKAGE_SUMMARY="${PLUGIN_SUMMARY}" -D CPACK_PACKAGE_VERSION=${PLUGIN_VERSION} -D CPACK_RPM_PACKAGE_RELEASE=${PLUGIN_REVISION} -D CPACK_RPM_CHANGELOG_FILE=${PLUGIN_CHANGELOG} -D CPACK_RPM_PACKAGE_REQUIRES="${PLUGIN_REQUIRES}" -D CPACK_RPM_PACKAGE_DESCRIPTION="${PLUGIN_DESCRIPTION}" -D CPACK_RPM_PACKAGE_VENDOR="${PLUGIN_VENDOR}" |