opt/cmake/Pkgfile

25 lines
573 B
Plaintext
Raw Normal View History

2008-10-14 12:26:23 +02:00
# Description: A cross-platform, open-source make system.
# URL: http://www.cmake.org/
2010-03-04 08:45:54 +01:00
# Maintainer: Jose V Beneyto, sepen at crux dot nu
2008-10-14 12:26:23 +02:00
# Packager: Mark Rosenstand, mark at borkware dot net
2012-06-27 10:24:16 +02:00
# Depends on: curl libarchive expat ncurses
2008-10-14 12:26:23 +02:00
name=cmake
2015-02-26 10:10:33 +01:00
version=3.1.3
2012-11-14 15:47:41 +01:00
release=1
2015-01-02 15:46:32 +01:00
source=(http://www.cmake.org/files/v${version%.*}/$name-$version.tar.gz)
2008-10-14 12:26:23 +02:00
build() {
2012-01-04 10:35:11 +01:00
cd $name-$version
./bootstrap \
--prefix=/usr \
--system-libs \
2014-08-05 17:38:47 +02:00
--system-libarchive \
--parallel=$(sed -e 's/.*-j *\([0-9]\+\).*/\1/' <<< $MAKEFLAGS)
2008-10-14 12:26:23 +02:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/doc
}