summaryrefslogtreecommitdiffstats
path: root/Utilities/cmake_release_config_cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmake_release_config_cygwin')
-rw-r--r--Utilities/cmake_release_config_cygwin28
1 files changed, 28 insertions, 0 deletions
diff --git a/Utilities/cmake_release_config_cygwin b/Utilities/cmake_release_config_cygwin
new file mode 100644
index 0000000..2958bdb
--- /dev/null
+++ b/Utilities/cmake_release_config_cygwin
@@ -0,0 +1,28 @@
+PREFIX="/usr"
+RELEASE_TAG="Release-1-4"
+VERSION="1.4-4"
+PLATFORM="x86-cygwin"
+DOC_DIR="/doc/cmake-${VERSION}"
+FIND="/usr/bin/find"
+
+CreateExtraFiles()
+{
+mkdir -p ${INSTALL_DIR}${PREFIX}/doc/cmake-${VERSION}
+cp ${SOURCE_DIR}/CMake.pdf ${INSTALL_DIR}${PREFIX}/doc/cmake-${VERSION}
+cp ${SOURCE_DIR}/CMake.rtf ${INSTALL_DIR}${PREFIX}/doc/cmake-${VERSION}
+mkdir -p ${INSTALL_DIR}${PREFIX}/doc/Cygwin
+cp ${SOURCE_DIR}/Utilities/cmake-cygwin.README ${INSTALL_DIR}${PREFIX}/doc/Cygwin/cmake-${VERSION}.README
+}
+
+
+CreatePackage()
+{
+echo "Creating cmake-$VERSION-$PLATFORM.tar"
+cd ${INSTALL_DIR}
+if ${TAR} cvf ${TARBALL_DIR}/cmake-$VERSION-$PLATFORM.tar ${PREFIX} \
+ > ${LOG_DIR}/cmake-$VERSION-$PLATFORM-cygwin.log 2>&1 ; then : ; else
+ echo "Error, see ${LOG_DIR}/cmake-$VERSION-$PLATFORM-cygwin.log"
+ exit 1
+fi
+bzip2 ${TARBALL_DIR}/cmake-$VERSION-$PLATFORM.tar
+} \ No newline at end of file