25 lines
563 B
Plaintext
25 lines
563 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=3.0.1
|
|
release=1
|
|
source=(http://www.cmake.org/files/v3.0/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./bootstrap \
|
|
--prefix=/usr \
|
|
--system-libs \
|
|
--system-libarchive \
|
|
--parallel=$(sed -e 's/.*-j *\([0-9]\+\).*/\1/' <<< $MAKEFLAGS)
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/doc
|
|
}
|