1d84baf522
The upstream CMake file produces a wrong soname and a broken pkg-config file.
27 lines
769 B
Bash
27 lines
769 B
Bash
# Template file for 'cfitsio'
|
|
pkgname=cfitsio
|
|
version=3.470
|
|
revision=2
|
|
wrksrc="${pkgname}-${version%0}"
|
|
build_style=gnu-configure
|
|
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%0}.tar.gz"
|
|
checksum=418516f10ee1e0f1b520926eeca6b77ce639bed88804c7c545e74f26b3edf4ef
|
|
|
|
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
|
|
}
|
|
}
|