annotate src/opkg-cfitsio.mk @ 6542:66dc175767da

* src/libpng.mk: update to v1.36.9
author John Donoghue <john.donoghue@ieee.org>
date Tue, 22 Nov 2022 07:34:57 -0500
parents b06843747eca
children e6ec9e6d9c51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6508
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := opkg-cfitsio
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 $(PKG)_VERSION := 0.0.4
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 8676194cddbad7d39c0e3356df98a8d670b19979
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION)
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE)
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_DEPS := cfitsio
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 $(PKG)_DEPS += $(OCTAVE_TARGET)
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 endif
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 define $(PKG)_UPDATE
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 $(WGET) -q -O- https://sourceforge.net/p/octave-cfitsio/code/ci/default/tree/ | \
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 $(SED) -n 's|.*code/ci/v\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 tail -1
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 endef
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 define $(PKG)_BUILD
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 $(OCTAVE_FORGE_PKG_BUILD)
b06843747eca add opkg-cfitsio
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 endef