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:25:00 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-12-28 20:25:00 +0100
commitdb0fcf9142f9ee7035370f832036c873d4c87168 (patch)
treea4062cdf2158362a0a431eb1806719e9f0975cb1 /distribution/posix/package.txt
parentee016bcb70b5c380e03b5fd2c12b1baa504c3cc8 (diff)
parent09795a01ef859f072920de9df974d1b03b9ab9a4 (diff)
Merge tag 'upstream/4.2.4a'
Upstream version 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()
+