comparison src/opkg-cfitsio.mk @ 6742:c257f81c781d

* src/opkg-cfitsio.mk: update to v0.0.5
author John Donoghue <john.donoghue@ieee.org>
date Mon, 12 Jun 2023 16:00:46 -0400
parents e6ec9e6d9c51
children 18ea2b39f5ca
comparison
equal deleted inserted replaced
6741:ea832a87f393 6742:c257f81c781d
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := opkg-cfitsio 4 PKG := opkg-cfitsio
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 0.0.4 6 $(PKG)_VERSION := 0.0.5
7 $(PKG)_CHECKSUM := 8676194cddbad7d39c0e3356df98a8d670b19979 7 $(PKG)_CHECKSUM := 6e57ac5d1a7094f40a4628cbd1e9d07a4315a504
8 $(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION)
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz 9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
10 $(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE) 10 $(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE)
11 $(PKG)_URL := https://github.com/gnu-octave/octave-cfitsio/releases/download/v$($(PKG)_VERSION)/$($(PKG)_SUBDIR).tar.gz
11 $(PKG)_DEPS := pkg-config cfitsio 12 $(PKG)_DEPS := pkg-config cfitsio
12 13
13 ifeq ($(ENABLE_BINARY_PACKAGES),yes) 14 ifeq ($(ENABLE_BINARY_PACKAGES),yes)
14 $(PKG)_DEPS += $(OCTAVE_TARGET) 15 $(PKG)_DEPS += $(OCTAVE_TARGET)
15 endif 16 endif
16 17
17 define $(PKG)_UPDATE 18 define $(PKG)_UPDATE
18 $(WGET) -q -O- https://sourceforge.net/p/octave-cfitsio/code/ci/default/tree/ | \ 19 $(call GITHUB_PKG_UPDATE,gnu-octave,octave-cfitsio,v)
19 $(SED) -n 's|.*code/ci/v\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \
20 tail -1
21 endef 20 endef
22 21
23 define $(PKG)_BUILD 22 define $(PKG)_BUILD
24 $(OCTAVE_FORGE_PKG_BUILD) 23 $(OCTAVE_FORGE_PKG_BUILD)
25 endef 24 endef