diff src/of-ga.mk @ 3919:282ca0892ed0

of-ga: add to mxe * src/of-ga.mk: new file * build_packages.m: add install of ga * index.html: add of-ga * Makefile.in: add ga * dist-files.mk: add of-ga.mk
author John Donoghue <john.donoghue@ieee.org>
date Sun, 26 Apr 2015 09:30:29 -0400
parents
children 1933a9113e65
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-ga.mk	Sun Apr 26 09:30:29 2015 -0400
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := of-ga
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 0.10.0
+$(PKG)_CHECKSUM := 4445a0869d48bba4284f658dd4459a63d3c521d0
+$(PKG)_REMOTE_SUBDIR := 
+$(PKG)_SUBDIR   := ga
+$(PKG)_FILE     := ga-$($(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="ga-\([0-9][^"]*\).tar.gz".*,\1,p' | \
+    head -1
+endef
+
+define $(PKG)_BUILD
+    $(OCTAVE_FORGE_PKG_BUILD)
+endef