Mercurial > mxe-octave
diff src/of-ocs.mk @ 3989:cdbce8086eaa
of-ocs: new package
* Makefile.in: add ocs to OCTAVE_FORGE_PACKAGES
* build_packages.m: add ocs-0.1.4.tar.gz to install
* dist-files.mk: add refs to of-ocs-1-cross-fixes.patch, of-ocs.mk
* src/of-ocs-1-cross-fixes.patch: new file
* src/of-ocs.mk: new file
* index.html: add of-ocs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 07 Jul 2015 20:43:46 -0400 |
parents | |
children | 9eca3f114683 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-ocs.mk Tue Jul 07 20:43:46 2015 -0400 @@ -0,0 +1,22 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-ocs +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.1.4 +$(PKG)_CHECKSUM := f3aa636a0f63f2c69cc9e0f88fa50c423e0cf548 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := ocs +$(PKG)_FILE := ocs-$($(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="ocs-\([0-9][^"]*\).tar.gz".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef