void-packages/srcpkgs/cfitsio/template

25 lines
682 B
Bash
Raw Normal View History

2017-12-19 06:53:03 +01:00
# Template file for 'cfitsio'
pkgname=cfitsio
version=3.450
revision=1
2017-12-19 06:53:03 +01:00
wrksrc=cfitsio
build_style=cmake
2017-12-19 06:53:03 +01:00
short_desc="Library for reading and writing data files in FITS data format"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="NASA license"
homepage="https://heasarc.gsfc.nasa.gov/fitsio/"
distfiles="http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/${pkgname}${version//./}.tar.gz"
checksum=bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e
2017-12-19 06:53:03 +01:00
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"
}
}