summaryrefslogtreecommitdiffstats
path: root/cmake/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot org>2012-04-16 05:52:58 +0200
committertnut <tnut at nutyx dot org>2012-04-16 05:52:58 +0200
commiteaed0a5f637310a5ad0147112f51366c10ccb53e (patch)
tree526476c0fbe7a9c1ab1e21db0c1fca54e085ff5b /cmake/Pkgfile
parentc537e5df2e79e24e36b3dd7316ce63f4d3beb8a3 (diff)
downloadnutyx-pakxe-eaed0a5f637310a5ad0147112f51366c10ccb53e.tar.gz
nutyx-pakxe-eaed0a5f637310a5ad0147112f51366c10ccb53e.tar.bz2
nutyx-pakxe-eaed0a5f637310a5ad0147112f51366c10ccb53e.tar.xz
nutyx-pakxe-eaed0a5f637310a5ad0147112f51366c10ccb53e.zip
ajout cmake
Diffstat (limited to 'cmake/Pkgfile')
-rwxr-xr-xcmake/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/cmake/Pkgfile b/cmake/Pkgfile
new file mode 100755
index 000000000..840711938
--- /dev/null
+++ b/cmake/Pkgfile
@@ -0,0 +1,23 @@
+# 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.6
+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
+}
+