summaryrefslogtreecommitdiffstats
path: root/extra/netcdf/Pkgfile
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-10 14:46:05 +0100
committerlesibel <lesibel@free.fr>2009-11-10 14:46:05 +0100
commit8d100fe01541cc7d02890058db4eb976b0b36aa3 (patch)
treeffef37c8e7eaa4b5036117f5dfede0ef00f550db /extra/netcdf/Pkgfile
parenta4215f17bbfd592d28082f21efa25adabeec95fd (diff)
downloadnutyx-extra-8d100fe01541cc7d02890058db4eb976b0b36aa3.tar.gz
nutyx-extra-8d100fe01541cc7d02890058db4eb976b0b36aa3.tar.bz2
nutyx-extra-8d100fe01541cc7d02890058db4eb976b0b36aa3.tar.xz
nutyx-extra-8d100fe01541cc7d02890058db4eb976b0b36aa3.zip
Ajout de netcdf#4.0.1-1
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..903c24751
--- /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 gcc-libs
+
+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
+}