Mercurial > mxe-octave
diff src/of-interval.mk @ 3967:55f3a9ff20b8
of-interval: add to mxe-octave
* src/of-interval.mk: new file
* dist-files.mk: add of-interval.mk.
* index.html: add of-interval
* Makefile.in: add of-interval
* build_packages.m: add interval package
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 15 Jun 2015 20:59:37 -0400 |
parents | |
children | 70809bcae59f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-interval.mk Mon Jun 15 20:59:37 2015 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-interval +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0.0 +$(PKG)_CHECKSUM := 8ba9a76367d56c855c2d7088eca9c788221dcc7b +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := interval-$($(PKG)_VERSION) +$(PKG)_FILE := interval-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' +$(PKG)_DEPS := + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ + $(SED) -n 's,.*title="interval-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef