parent
0f5f38d3ae
commit
80eaf25341
2 changed files with 34 additions and 0 deletions
1
srcpkgs/netcdf-devel
Symbolic link
1
srcpkgs/netcdf-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
netcdf
|
33
srcpkgs/netcdf/template
Normal file
33
srcpkgs/netcdf/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'netcdf'
|
||||
pkgname=netcdf
|
||||
version=4.4.1.1
|
||||
revision=1
|
||||
short_desc="A machine-independent format for representing scientific data"
|
||||
maintainer="Hans Grob <woufrous@gmail.com>"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="m4"
|
||||
makedepends="hdf5-devel"
|
||||
depends="hdf5"
|
||||
license="netcdf"
|
||||
homepage="https://www.unidata.ucar.edu/software/netcdf/"
|
||||
distfiles="https://github.com/Unidata/netcdf-c/archive/v${version}.tar.gz"
|
||||
wrksrc="netcdf-c-${version}"
|
||||
checksum=7f040a0542ed3f6d27f3002b074e509614e18d6c515b2005d1537fec01b24909
|
||||
|
||||
configure_args="--enable-shared"
|
||||
|
||||
post_install() {
|
||||
vlicense COPYRIGHT
|
||||
}
|
||||
|
||||
netcdf-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - delevopment files"
|
||||
pkg_install() {
|
||||
vmove usr/share/man/man3
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue