Mercurial > mxe-octave
changeset 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 | ccc50d6b448d |
children | b77e76368a51 |
files | Makefile.in dist-files.mk index.html src/opkg-cfitsio.mk |
diffstat | 4 files changed, 31 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Fri Nov 04 10:25:44 2022 -0400 +++ b/Makefile.in Fri Nov 04 10:37:37 2022 -0400 @@ -550,7 +550,7 @@ ## Packages removed from list because build is broken: ## None. OCTAVE_FORGE_PACKAGES := $(addprefix of-,audio communications control database dataframe data-smoothing dicom financial fits fuzzy-logic-toolkit ga general generate_html geometry gsl image instrument-control interval io linear-algebra lssa ltfat mapping matgeom miscellaneous nan netcdf nurbs ocs octproj optim optiminterp quaternion queueing signal sockets sparsersb splines statistics stk strings struct symbolic tisean tsa video windows zeromq) -OCTAVE_OTHER_PACKAGES := $(addprefix opkg-,biosig mqtt) +OCTAVE_OTHER_PACKAGES := $(addprefix opkg-,biosig cfitsio mqtt) # get ALL deps for all of- packages, regardless of whether building the actual forge package in the installer OCTAVE_FORGE_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_FORGE_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p))) OCTAVE_OTHER_PKG_DEPS:= $(sort $(foreach p,$(addprefix $(TOP_DIR)/src/,$(addsuffix .mk,$(OCTAVE_OTHER_PACKAGES))),$(shell $(SED) -n 's/.*_DEPS.*:=\(.*\)/\1/p' $p)))
--- a/dist-files.mk Fri Nov 04 10:25:44 2022 -0400 +++ b/dist-files.mk Fri Nov 04 10:37:37 2022 -0400 @@ -577,6 +577,7 @@ openssl.mk \ opkg-biosig-1-skip-test.patch \ opkg-biosig.mk \ + opkg-cfitsio.mk \ opkg-mqtt.mk \ opus.mk \ opusfile.mk \
--- a/index.html Fri Nov 04 10:25:44 2022 -0400 +++ b/index.html Fri Nov 04 10:37:37 2022 -0400 @@ -2518,6 +2518,10 @@ <td class="website"><a href="https://biosig.sourceforge.io/">Biosig Octave Package</a></td> </tr> <tr> + <td class="package">opkg-cfitsio</td> + <td class="website"><a href="https://sourceforge.net/projects/octave-cfitsio/">CFITSIO Octave Package</a></td> + </tr> + <tr> <td class="package">opkg-mqtt</td> <td class="website"><a href="https://sourceforge.net/projects/octave-mqtt/">MQTT Octave Package</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/opkg-cfitsio.mk Fri Nov 04 10:37:37 2022 -0400 @@ -0,0 +1,25 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := opkg-cfitsio +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.0.4 +$(PKG)_CHECKSUM := 8676194cddbad7d39c0e3356df98a8d670b19979 +$(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz +$(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := cfitsio + +ifeq ($(ENABLE_BINARY_PACKAGES),yes) + $(PKG)_DEPS += $(OCTAVE_TARGET) +endif + +define $(PKG)_UPDATE + $(WGET) -q -O- https://sourceforge.net/p/octave-cfitsio/code/ci/default/tree/ | \ + $(SED) -n 's|.*code/ci/v\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \ + tail -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef