annotate src/of-odepkg.mk @ 3561:ae4193aad5fe

revise and enable more $(PKG)_UPDATE rules
author John W. Eaton <jwe@octave.org>
date Sat, 08 Mar 2014 17:40:00 -0500
parents 13be64f9f16d
children 58935b4de51f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3376
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
1 # This file is part of MXE.
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
2 # See index.html for further information.
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
3
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
4 PKG := of-odepkg
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3378
diff changeset
6 $(PKG)_VERSION := 0.8.4
3376
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 74b7e88ad5a104e064c413f077a5e5327741efb4
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3378
1b0264f7b274 odepkg: use OCTAVE_FORGE_PKG_BUILD build rule
John Donoghue <john.donoghue@ieee.org>
parents: 3376
diff changeset
9 $(PKG)_SUBDIR := odepkg
3376
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
10 $(PKG)_FILE := odepkg-$($(PKG)_VERSION).tar.gz
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
12 $(PKG)_DEPS :=
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
13
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
14 define $(PKG)_UPDATE
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
16 $(SED) -n 's,.*title="odepkg-\([0-9][^"]*\).tar.gz".*,\1,p' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 head -1
3376
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
18 endef
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
19
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
20 define $(PKG)_BUILD
3378
1b0264f7b274 odepkg: use OCTAVE_FORGE_PKG_BUILD build rule
John Donoghue <john.donoghue@ieee.org>
parents: 3376
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
3376
89dea9a48953 Include Octave Forge 'odepkg' package
Anirudha Bose <ani07nov@gmail.com>
parents:
diff changeset
22 endef