summaryrefslogtreecommitdiffstats
path: root/base/netcdf/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-17 21:10:40 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-17 21:10:40 +0100
commit45c9211786cae8c540a9d32e19b5c2126d9e0ef5 (patch)
treebe02072e3e3e59a9fb93052aac2733304a99b673 /base/netcdf/Pkgfile
parent1b2b00f4184c9948f12238de77d65d155435b8db (diff)
downloadnutyx-extra-45c9211786cae8c540a9d32e19b5c2126d9e0ef5.tar.gz
nutyx-extra-45c9211786cae8c540a9d32e19b5c2126d9e0ef5.tar.bz2
nutyx-extra-45c9211786cae8c540a9d32e19b5c2126d9e0ef5.tar.xz
nutyx-extra-45c9211786cae8c540a9d32e19b5c2126d9e0ef5.zip
netcdf, déplacé dans base et maj des dépendances
Diffstat (limited to 'base/netcdf/Pkgfile')
-rw-r--r--base/netcdf/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/base/netcdf/Pkgfile b/base/netcdf/Pkgfile
new file mode 100644
index 000000000..20f4edd5e
--- /dev/null
+++ b/base/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.0.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
+}