summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/Cygwin/cygwin-package.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-01-31 21:48:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-01-31 21:48:22 (GMT)
commit22767f7e3f8933feec1a017529519fceeb67233b (patch)
tree6a65145c824ac93a6a26289b97b0cfebbdaf5fbd /Utilities/Release/Cygwin/cygwin-package.sh.in
parent94550852ebbe63ea4be3f34521f7095e8ec26660 (diff)
downloadCMake-22767f7e3f8933feec1a017529519fceeb67233b.zip
CMake-22767f7e3f8933feec1a017529519fceeb67233b.tar.gz
CMake-22767f7e3f8933feec1a017529519fceeb67233b.tar.bz2
ENH: add support files for cpack cygwin setup package stuff
Diffstat (limited to 'Utilities/Release/Cygwin/cygwin-package.sh.in')
-rwxr-xr-xUtilities/Release/Cygwin/cygwin-package.sh.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Utilities/Release/Cygwin/cygwin-package.sh.in b/Utilities/Release/Cygwin/cygwin-package.sh.in
new file mode 100755
index 0000000..0ce7b7e
--- /dev/null
+++ b/Utilities/Release/Cygwin/cygwin-package.sh.in
@@ -0,0 +1,13 @@
+tdir=`pwd`
+tar xvfj @CYGWIN_SRC_PACKAGE_NAME@.tar.bz2 &&
+cd @CYGWIN_SRC_PACKAGE_NAME@ &&
+mkdir .build &&
+cd .build &&
+../bootstrap --parallel=2 &&
+make -j2 &&
+make test &&
+./bin/cpack &&
+./bin/cpack --config CPackSourceConfig.cmake
+
+mv @CYGWIN_SRC_PACKAGE_NAME@-@CPACK_CYGWIN_PATCH_NUMBER@-src.tar.bz2 "$tdir"
+mv @CYGWIN_PACKAGE_NAME@-@CPACK_CYGWIN_PATCH_NUMBER@.tar.bz2 "$tdir"