40 lines
892 B
Text
Executable file
40 lines
892 B
Text
Executable file
APP=cmake
|
|
VERSION=3.17.3
|
|
BUILD=1sml
|
|
HOMEPAGE='http://www.cmake.org'
|
|
DOWNLOAD='https://cmake.org/files/v3.17/cmake-3.17.3.tar.gz'
|
|
DESC="Cross-platform, open-source make system"
|
|
REQUIRES="gcc-libs openssl libunistring libidn2"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
para="$(echo $MAKEFLAGS | sed 's/-j//')"
|
|
|
|
./bootstrap \
|
|
--prefix="" \
|
|
--no-system-curl \
|
|
--no-system-expat \
|
|
--no-system-jsoncpp \
|
|
--no-system-zlib \
|
|
--no-system-bzip2 \
|
|
--no-system-libarchive \
|
|
--no-qt-gui \
|
|
--parallel="$para"
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp Licenses/* Copyright.txt $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
e68eb80a294a4ee441f5e29b95a6450677ef8d7a8aa40e29e7475db9aa7566edd903ce4bfb57a0795f8e31dd29f16620f588b81b5fd9f74e80f996de980bccd3 cmake-3.17.3.tar.lz
|
|
"
|