summaryrefslogtreecommitdiffstats
path: root/cmake/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-05-19 22:57:22 +0000
committerpiernov <piernov@piernov.org>2012-05-19 22:57:22 +0000
commit735d77e9ffc2763c118e05828804bc792d724926 (patch)
treee3208a8264b26b8014a5a449dbde9fb19ff7320d /cmake/Pkgfile
parentd895271d8e14f05a72cc761e9e300672d58a6ae4 (diff)
downloadnutyx-extra-735d77e9ffc2763c118e05828804bc792d724926.tar.gz
nutyx-extra-735d77e9ffc2763c118e05828804bc792d724926.tar.bz2
nutyx-extra-735d77e9ffc2763c118e05828804bc792d724926.tar.xz
nutyx-extra-735d77e9ffc2763c118e05828804bc792d724926.zip
cmake 2.8.8-1 ajout patch pkg-config
Diffstat (limited to 'cmake/Pkgfile')
-rwxr-xr-xcmake/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/Pkgfile b/cmake/Pkgfile
index 9680aa7ec..196b1a056 100755
--- a/cmake/Pkgfile
+++ b/cmake/Pkgfile
@@ -8,14 +8,16 @@
name=cmake
version=2.8.8
release=1
-source=(http://www.cmake.org/files/v2.8/$name-$version.tar.gz)
+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=/usr/share/man \
--system-libs \
- --parallel=2
+ --parallel=$(/usr/bin/getconf _NPROCESSORS_ONLN)
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/doc