From db8326927a79bd9807d533aee45199acdcd34529 Mon Sep 17 00:00:00 2001 From: Stefano Balzan Date: Wed, 10 Dec 2014 20:34:35 +0100 Subject: Added CCfits library TODO: add an example program and updade instructions in ccfits.mk --- index.html | 4 ++++ src/ccfits.mk | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 src/ccfits.mk diff --git a/index.html b/index.html index 089113b..3320828 100644 --- a/index.html +++ b/index.html @@ -1183,6 +1183,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) cblas + ccfits + CCfits + + chipmunk Chipmunk Physics diff --git a/src/ccfits.mk b/src/ccfits.mk new file mode 100755 index 0000000..c1b0fdc --- /dev/null +++ b/src/ccfits.mk @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := ccfits +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.4 +$(PKG)_CHECKSUM := 3de2a6379bc1024300befae95cfdf33645a7b64a +$(PKG)_SUBDIR := CCfits +$(PKG)_FILE := CCfits-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := https://heasarc.gsfc.nasa.gov/fitsio/CCfits/$($(PKG)_FILE) +$(PKG)_DEPS := gcc cfitsio + +define $(PKG)_UPDATE + echo 'TODO: write update script for $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + $(MXE_CONFIGURE_OPTS) \ + --with-cfitsio='$(PREFIX)/$(TARGET)' + + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef + +$(PKG)_BUILD_SHARED = -- cgit v0.12