void-packages/srcpkgs/cfitsio/template
q66 5e662ecccc cfitsio: fix build
libcurl is searched for during configure, but it is not found.
2019-02-12 17:40:26 -02:00

26 lines
No EOL
710 B
Bash

# Template file for 'cfitsio'
pkgname=cfitsio
version=3.450
revision=1
wrksrc=cfitsio
build_style=cmake
makedepends="libcurl-devel"
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
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"
}
}