summaryrefslogtreecommitdiff
path: root/community/ccfits/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ccfits/PKGBUILD')
-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"
+}