mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
963 B
Bash
28 lines
963 B
Bash
# $Id: PKGBUILD 51752 2009-09-10 20:47:09Z ronald $
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
# Contributor: damir <damir@archlinux.org>
|
|
|
|
pkgname=netcdf
|
|
pkgver=4.0.1
|
|
pkgrel=1
|
|
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
|
|
arch=("i686" "x86_64")
|
|
url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
|
|
depends=('gcc-libs>=4.3.0')
|
|
options=('force' '!libtool' '!makeflags')
|
|
license=('custom')
|
|
source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-${pkgver}.tar.gz)
|
|
md5sums=('a251453c5477599f050fa4e593295186')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --enable-shared
|
|
make || return 1
|
|
make check || return 1
|
|
install -m755 -d ${pkgdir}/usr/lib
|
|
install -m755 -d ${pkgdir}/usr/share/man
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT \
|
|
${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
|
|
}
|