Mercurial > mxe-octave
changeset 4249:a1e2f1eac845
of-gsl: addgsl forge package
* src/of-gsl.mk: new file
* Makefile.in: add gsl to octave forge package list
* dist-files.mk: add of-gsl.mk
* index.html: add of-gsl
* src/gsl.mk: update version, checksum for 2.2.1
author | John D |
---|---|
date | Mon, 21 Nov 2016 15:40:39 -0500 |
parents | 64063cd35eb2 |
children | bdbb890b03dd |
files | Makefile.in dist-files.mk index.html src/gsl.mk src/of-gsl.mk |
diffstat | 5 files changed, 30 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Tue Nov 15 20:18:19 2016 -0500 +++ b/Makefile.in Mon Nov 21 15:40:39 2016 -0500 @@ -443,7 +443,7 @@ endif OCTAVE_FORGE_BASE_URL := 'http://sourceforge.net/projects/octave/files/Octave Forge Packages/Individual Package Releases' -OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows linear-algebra sockets zenity data-smoothing fuzzy-logic-toolkit quaternion fits tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq sparsersb) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows linear-algebra sockets zenity data-smoothing fuzzy-logic-toolkit quaternion fits tsa dicom netcdf ltfat database instrument-control generate_html nurbs strings financial stk splines dataframe lssa queueing ga odepkg interval nan ocs mapping tisean video zeromq sparsersb gsl) # 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)))
--- a/dist-files.mk Tue Nov 15 20:18:19 2016 -0500 +++ b/dist-files.mk Mon Nov 21 15:40:39 2016 -0500 @@ -462,6 +462,7 @@ of-general.mk \ of-generate_html.mk \ of-geometry.mk \ + of-gsl.mk \ of-image.mk \ of-interval.mk \ of-instrument-control.mk \
--- a/index.html Tue Nov 15 20:18:19 2016 -0500 +++ b/index.html Mon Nov 21 15:40:39 2016 -0500 @@ -1918,6 +1918,10 @@ <td class="website"><a href="http://octave.sf.net/">Octave Forge geometry package</a></td> </tr> <tr> + <td class="package">of-gsl</td> + <td class="website"><a href="http://octave.sf.net/">Octave Forge gsl package</a></td> + </tr> + <tr> <td class="package">of-image</td> <td class="website"><a href="http://octave.sf.net/">Octave Forge image package</a></td> </tr>
--- a/src/gsl.mk Tue Nov 15 20:18:19 2016 -0500 +++ b/src/gsl.mk Mon Nov 21 15:40:39 2016 -0500 @@ -3,8 +3,8 @@ PKG := gsl $(PKG)_IGNORE := -$(PKG)_VERSION := 1.15 -$(PKG)_CHECKSUM := d914f84b39a5274b0a589d9b83a66f44cd17ca8e +$(PKG)_VERSION := 2.2.1 +$(PKG)_CHECKSUM := 2612a898aada49e90aa3069c712f172530f8d38f $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-gsl.mk Mon Nov 21 15:40:39 2016 -0500 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-gsl +$(PKG)_IGNORE := +$(PKG)_VERSION := 2.0.0 +$(PKG)_CHECKSUM := 2732fd71d378d1ca97ebec63d824df0f362612d4 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := gsl-$($(PKG)_VERSION) +$(PKG)_FILE := gsl-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' +$(PKG)_DEPS := gsl + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ + $(SED) -n 's,.*title="gsl-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef