2002-08-28 18:28:49 +04:00
|
|
|
PREFIX="/usr"
|
|
|
|
RELEASE_TAG="Release-1-4"
|
|
|
|
VERSION="1.4-4"
|
|
|
|
PLATFORM="x86-cygwin"
|
|
|
|
DOC_DIR="/doc/cmake-${VERSION}"
|
|
|
|
FIND="/usr/bin/find"
|
2002-08-28 23:08:18 +04:00
|
|
|
CREATE_SOURCE_TARBALL="yes"
|
|
|
|
SOURCE_TARBALL_NAME="cmake-$VERSION"
|
2002-08-28 18:28:49 +04:00
|
|
|
|
|
|
|
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}
|
2002-08-28 23:08:18 +04:00
|
|
|
if ${TAR} cvf ${TARBALL_DIR}/cmake-$VERSION-$PLATFORM.tar .${PREFIX} \
|
2002-08-28 18:28:49 +04:00
|
|
|
> ${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
|
2002-08-28 23:08:18 +04:00
|
|
|
}
|