summaryrefslogtreecommitdiffstats
path: root/extra/cmake/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmake/Pkgfile')
-rwxr-xr-xextra/cmake/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/cmake/Pkgfile b/extra/cmake/Pkgfile
new file mode 100755
index 000000000..d1f7a34c7
--- /dev/null
+++ b/extra/cmake/Pkgfile
@@ -0,0 +1,21 @@
+# 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
+
+name=cmake
+version=2.8.0
+release=2
+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
+}