summaryrefslogtreecommitdiffstats
path: root/extra/cmake/Pkgfile
blob: 1ed7acf5fff6c215b77ef0ab985f9080ace0eefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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: libidn, curl, expat

name=cmake
version=2.8.1
release=1
source=(http://www.cmake.org/files/v2.8/$name-$version.tar.gz)

build() {
	cd $name-$version
	./bootstrap --prefix=/usr \
		--mandir=/usr/share/man \
		--system-libs \
                --parallel=2
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/doc
}