6508
|
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 |