blob: 7362a464a907197ada08d48f4da0a8602742491d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Description: Permet la construction de paquets sur différentes platformes
# URL: http://www.cmake.org
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: curl, shared-mime-info, libldap, cyrus-sasl
# Run on: curl,shared-mime-info,libldap,cyrus-sasl
name=cmake
version=2.8.8
release=1
source=(http://www.cmake.org/files/v2.8/$name-$version.tar.gz
fix-pkg-config.patch)
build() {
cd $name-$version
patch -p1 < ../fix-pkg-config.patch
./bootstrap --prefix=/usr \
--mandir=/share/man \
--system-libs \
--parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/doc
}
|