Added CCfits library

TODO: add an example program and updade instructions in ccfits.mk
pull/590/head
Stefano Balzan 10 years ago committed by Timothy Gu
parent 6bc8377f9e
commit db8326927a

@ -1182,6 +1182,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">cblas</td>
<td class="website"><a href="http://www.netlib.org/blas/">cblas</a></td>
</tr>
<tr>
<td class="package">ccfits</td>
<td class="website"><a href="http://heasarc.gsfc.nasa.gov/fitsio/ccfits">CCfits</a></td>
</tr>
<tr>
<td class="package">chipmunk</td>
<td class="website"><a href="https://chipmunk-physics.net/">Chipmunk Physics</a></td>

@ -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 =
Loading…
Cancel
Save