Mercurial > mxe-octave
diff src/of-gsl.mk @ 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 | |
children | 1933a9113e65 |
line wrap: on
line diff
--- /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