void-packages/srcpkgs/cfitsio/template
2022-03-11 19:21:25 +01:00

27 lines
770 B
Bash

# Template file for 'cfitsio'
pkgname=cfitsio
version=4.0.0
revision=2
build_style=gnu-configure
configure_args="--enable-reentrant"
makedepends="libcurl-devel"
short_desc="Library for reading and writing data files in FITS data format"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="custom:NASA license"
homepage="https://heasarc.gsfc.nasa.gov/fitsio/"
distfiles="http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${pkgname}-${version}.tar.gz"
checksum=b2a8efba0b9f86d3e1bd619f662a476ec18112b4f27cc441cc680a4e3777425e
post_install() {
vlicense License.txt
}
cfitsio-devel_package() {
depends="cfitsio-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}