comparison src/opkg-cfitsio.mk @ 6508:b06843747eca

add opkg-cfitsio * src/opkg-cfitsio.mk: new file * Makefile.in, dist-files.mk, index.html: add ref to new pkg
author John Donoghue <john.donoghue@ieee.org>
date Fri, 04 Nov 2022 10:37:37 -0400
parents
children e6ec9e6d9c51
comparison
equal deleted inserted replaced
6507:ccc50d6b448d 6508:b06843747eca
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := opkg-cfitsio
5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 0.0.4
7 $(PKG)_CHECKSUM := 8676194cddbad7d39c0e3356df98a8d670b19979
8 $(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION)
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
10 $(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE)
11 $(PKG)_DEPS := cfitsio
12
13 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
14 $(PKG)_DEPS += $(OCTAVE_TARGET)
15 endif
16
17 define $(PKG)_UPDATE
18 $(WGET) -q -O- https://sourceforge.net/p/octave-cfitsio/code/ci/default/tree/ | \
19 $(SED) -n 's|.*code/ci/v\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \
20 tail -1
21 endef
22
23 define $(PKG)_BUILD
24 $(OCTAVE_FORGE_PKG_BUILD)
25 endef