27 lines
613 B
Plaintext
27 lines
613 B
Plaintext
# Description: A cross-platform, open-source make system.
|
|
# URL: http://www.cmake.org/
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
|
# Depends on: curl libarchive expat ncurses
|
|
|
|
name=cmake
|
|
version=2.8.8
|
|
release=2
|
|
source=(http://www.cmake.org/files/v${version%.*}/$name-$version.tar.gz
|
|
fix-pkg-config.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p 1 -i $SRC/fix-pkg-config.patch
|
|
|
|
./bootstrap \
|
|
--prefix=/usr \
|
|
--system-libs \
|
|
--parallel=$(sed -e 's/.*-j *\([0-9]\+\).*/\1/' <<< $MAKEFLAGS)
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/doc
|
|
}
|