updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / hdf-eos5 / PKGBUILD
blobe5265d37ee4fcfc18fe847faa280cb0187c52039
1 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
3 pkgname=hdf-eos5
4 pkgver=1.13
5 pkgrel=3
6 pkgdesc="The HDF-EOS5 is a software library designed built on HDF5 to support the same Grid/Point/Swath functionality in HDF-EOS 2 and to the extent possible it will be built with the same calling sequences as the original HDF-EOS 2 library."
7 url="http://www.hdfeos.org/software/library.php"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('szip' 'hdf5' 'libhdf5')
11 source=(ftp://edhs1.gsfc.nasa.gov/edhs/hdfeos5/latest_release/HDF-EOS5.$pkgver.tar.Z)
12 md5sums=('9dd44039f3b3e6d232717f0b3554d103')
15 build() {
16   cd $srcdir/hdfeos5
17   ./configure --with-hdf5=/usr --with-zlib=/usr CC="/usr/bin/h5cc -shlib" --prefix=/usr
18   make clean 
19   make || return 1
20   #make check || return 1
21   make DESTDIR=$startdir/pkg/ install
22   install -d -m755 $pkgdir/usr/include/
23   install -m644 include/*.h $pkgdir/usr/include/
24   #install example
25   install -d -m755 $pkgdir/usr/share/doc/hdf-eos5
26   install -m644 samples/* $pkgdir/usr/share/doc/hdf-eos5/