netcdf: update to 4.6.2.1.

This commit is contained in:
maxice8 2019-02-15 22:48:28 -02:00 committed by maxice8
parent cd42359291
commit ea9766dd4a
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'netcdf'
pkgname=netcdf
version=4.6.2
version=4.6.2.1
revision=1
wrksrc="netcdf-c-${version}"
build_style=gnu-configure
@ -12,13 +12,12 @@ maintainer="Hans Grob <woufrous@gmail.com>"
license="NetCDF"
homepage="https://www.unidata.ucar.edu/software/netcdf/"
distfiles="https://github.com/Unidata/netcdf-c/archive/v${version}.tar.gz"
checksum=673936c76ae0c496f6dde7e077f5be480afc1e300adb2c200bf56fbe22e5a82a
checksum=8a62b2b5890fef10c1e32b266924f1974ac1c153358e111e764163097b3793b0
post_install() {
# Remove references to hardening -specs.
sed -e "s|-specs=.*hardened-ld||g" -e "s|-specs=.*hardened-cc1||g" \
-i ${DESTDIR}/usr/lib/libnetcdf.settings
vlicense COPYRIGHT
}
netcdf-devel_package() {
@ -30,7 +29,7 @@ netcdf-devel_package() {
vmove usr/lib/pkgconfig
vmove usr/lib/libnetcdf.settings
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}