summaryrefslogtreecommitdiffstats
path: root/extra/netcdf/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:50:50 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:50:50 +0200
commitb6b559769d9a4568b0502b551391162e3c1294fa (patch)
treec7c83cda51aace89943ee1719fb0905ba384d03f /extra/netcdf/Pkgfile
parent8b132e07a2900829d212c9111ae4776047fb07c9 (diff)
downloadnutyx-extra-b6b559769d9a4568b0502b551391162e3c1294fa.tar.gz
nutyx-extra-b6b559769d9a4568b0502b551391162e3c1294fa.tar.bz2
nutyx-extra-b6b559769d9a4568b0502b551391162e3c1294fa.tar.xz
nutyx-extra-b6b559769d9a4568b0502b551391162e3c1294fa.zip
netcdf dans extra
Diffstat (limited to 'extra/netcdf/Pkgfile')
-rw-r--r--extra/netcdf/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/netcdf/Pkgfile b/extra/netcdf/Pkgfile
new file mode 100644
index 000000000..a67771991
--- /dev/null
+++ b/extra/netcdf/Pkgfile
@@ -0,0 +1,24 @@
+# Description: network Common Data Form interface for array-oriented data access and corresponding library
+# URL: http://www.unidata.ucar.edu/downloads/netcdf/index.jsp
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+
+name=netcdf
+version=4.1.1
+release=1
+source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr --enable-shared
+ make
+ make check
+ install -m755 -d $PKG/usr/lib
+ install -m755 -d $PKG/usr/share/man
+ make DESTDIR=$PKG install
+
+ install -Dm644 $SRC/$name-$version/COPYRIGHT \
+ $PKG/usr/share/licenses/$name/COPYRIGHT
+ rm $PKG/usr/share/info/dir
+}