2008-10-14 13:26:23 +03: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 13:26:23 +03: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 13:26:23 +03:00
|
|
|
|
|
|
|
name=cmake
|
2012-04-19 17:31:06 +02:00
|
|
|
version=2.8.8
|
2012-06-26 16:11:53 +02:00
|
|
|
release=2
|
|
|
|
source=(http://www.cmake.org/files/v${version%.*}/$name-$version.tar.gz
|
|
|
|
fix-pkg-config.patch)
|
2008-10-14 13:26:23 +03:00
|
|
|
|
|
|
|
build() {
|
2012-01-04 10:35:11 +01:00
|
|
|
cd $name-$version
|
2012-06-26 16:11:53 +02:00
|
|
|
|
|
|
|
patch -p 1 -i $SRC/fix-pkg-config.patch
|
|
|
|
|
|
|
|
./bootstrap \
|
|
|
|
--prefix=/usr \
|
|
|
|
--system-libs \
|
|
|
|
--parallel=$(sed -e 's/.*-j *\([0-9]\+\).*/\1/' <<< $MAKEFLAGS)
|
|
|
|
|
2008-10-14 13:26:23 +03:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/doc
|
|
|
|
}
|