annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3919
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := of-ga
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 $(PKG)_VERSION := 0.10.0
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 4445a0869d48bba4284f658dd4459a63d3c521d0
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_SUBDIR := ga
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_FILE := ga-$($(PKG)_VERSION).tar.gz
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(PKG)_DEPS :=
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 define $(PKG)_UPDATE
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 $(SED) -n 's,.*title="ga-\([0-9][^"]*\).tar.gz".*,\1,p' | \
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 head -1
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 endef
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 define $(PKG)_BUILD
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 endef