# HG changeset patch # User John Donoghue # Date 1667572657 14400 # Node ID b06843747eca3984e2aa29627ff2947e89f8666d # Parent ccc50d6b448dc1719e169f381775fde799c92720 add opkg-cfitsio * src/opkg-cfitsio.mk: new file * Makefile.in, dist-files.mk, index.html: add ref to new pkg diff -r ccc50d6b448d -r b06843747eca Makefile.in --- 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))) diff -r ccc50d6b448d -r b06843747eca dist-files.mk --- 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 \ diff -r ccc50d6b448d -r b06843747eca index.html --- 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 @@ Biosig Octave Package + opkg-cfitsio + CFITSIO Octave Package + + opkg-mqtt MQTT Octave Package diff -r ccc50d6b448d -r b06843747eca src/opkg-cfitsio.mk --- /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