summaryrefslogtreecommitdiff
path: root/community/ccfits
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-05 03:38:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-05 03:38:19 +0000
commit8b3a0b83eb5ad9bcff19b466bcd72c18fdf466ce (patch)
tree3ff1e4ff16a28abfcec73d664b339c7ce57f5891 /community/ccfits
parent994ca8b3d7a14ef97d75b40b7554a9892bd0283f (diff)
Wed Feb 5 03:36:49 UTC 2014
Diffstat (limited to 'community/ccfits')
-rw-r--r--community/ccfits/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/ccfits/PKGBUILD b/community/ccfits/PKGBUILD
new file mode 100644
index 000000000..7ab94bfd9
--- /dev/null
+++ b/community/ccfits/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: <clu>
+# Contributor: Jose San Juan <sanjuan@tng.iac.es>
+
+pkgname=ccfits
+pkgver=2.4
+pkgrel=4
+pkgdesc="Object Oriented Interface to the CFITSIO Library"
+arch=('i686' 'x86_64')
+url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/ccfits/"
+license=('custom')
+depends=('cfitsio')
+source=(http://heasarc.gsfc.nasa.gov/docs/software/fitsio/${pkgname}/CCfits-${pkgver}.tar.gz)
+md5sums=('dd9a11d964590dd5f3fd5a3491b2c1ce')
+
+build() {
+ cd "${srcdir}"/CCfits
+
+ ./configure --with-cfitsio-libdir=/usr/lib --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/CCfits
+
+ make DESTDIR="${pkgdir}" install
+
+#install license
+ install -D -m644 License.txt "${pkgdir}/usr/share/licenses/$pkgname/License.txt"
+}