summaryrefslogtreecommitdiffstats
path: root/netcdf/Pkgfile
blob: 905728867511eae416fe4ba0f91d2517476194f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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: hdf5
# Run on: hdf5

name=netcdf
version=4.2.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 \
		--enable-netcdf-4 \
		--enable-dap-netcdf
	make
	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 -f $PKG/usr/share/info/dir
}