diff options
author | root <root@rshg054.dnsready.net> | 2012-11-19 02:25:52 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-19 02:25:52 -0800 |
commit | 705d29694fd61c47a57ccec531e73d87a2960021 (patch) | |
tree | 55e2f9c5d4ed72e92b4d249f51760cfbd53d3b80 /extra/wcslib/PKGBUILD | |
parent | ab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff) |
Mon Nov 19 02:22:26 PST 2012
Diffstat (limited to 'extra/wcslib/PKGBUILD')
-rw-r--r-- | extra/wcslib/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/wcslib/PKGBUILD b/extra/wcslib/PKGBUILD new file mode 100644 index 000000000..44b53b5bf --- /dev/null +++ b/extra/wcslib/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 171525 2012-11-18 11:23:12Z andrea $ +# Maintainer: Your Name <youremail@domain.com> + +pkgname=wcslib +pkgver=4.16 +pkgrel=1 +pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS" +arch=('i686' 'x86_64') +url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/" +license=('GPL3') +depends=('cfitsio') +makedepends=('gcc-fortran') +source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2") +md5sums=('30439a0bb730ef936646d646c9f07518') + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr \ + --without-pgplot + make +} + +#check() { +# cd $pkgname-$pkgver +# make -k check +#} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir/" install + + # Fix wrong permissions + + chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/} + chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}} +} |