summaryrefslogtreecommitdiff
path: root/distribution/posix/package.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:24:50 +0100
commit09795a01ef859f072920de9df974d1b03b9ab9a4 (patch)
tree4d05907fc37f1bd781e506f5e196f7435aeec0ab /distribution/posix/package.txt
parent5b4163d8c76b03f0d31b09866aa4bd06b4d8d804 (diff)
New upstream version 4.2.4aupstream/4.2.4a
Diffstat (limited to 'distribution/posix/package.txt')
-rw-r--r--distribution/posix/package.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/distribution/posix/package.txt b/distribution/posix/package.txt
new file mode 100644
index 0000000..a4e925e
--- /dev/null
+++ b/distribution/posix/package.txt
@@ -0,0 +1,8 @@
+IF(CPACK_GENERATOR STREQUAL "TGZ" OR CPACK_GENERATOR STREQUAL "TBZ2")
+ set(CPACK_PACKAGING_INSTALL_PREFIX "")
+ELSEIF (CPACK_GENERATOR STREQUAL "RPM" )
+ set(CPACK_PACKAGING_INSTALL_PREFIX ${CPACK_INSTALL_PREFIX})
+ELSEIF (CPACK_GENERATOR STREQUAL "STGZ")
+ set(CPACK_PACKAGING_INSTALL_PREFIX "")
+ENDIF()
+