annotate src/of-statistics.mk @ 3843:dc15f0105d5a

of-statistics: fix subdir to include version number * src/of-statistics.mk: ix subdir to include version number
author John Donoghue
date Tue, 10 Mar 2015 13:40:09 -0400
parents 732f437653ae
children 5095971cff2f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := of-statistics
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3842
732f437653ae of-statistics: update to 1.2.4
John Donoghue
parents: 3561
diff changeset
6 $(PKG)_VERSION := 1.2.4
732f437653ae of-statistics: update to 1.2.4
John Donoghue
parents: 3561
diff changeset
7 $(PKG)_CHECKSUM := 5cf70f146235d6fd19e3d3dd1c7548a96a019dee
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
3843
dc15f0105d5a of-statistics: fix subdir to include version number
John Donoghue
parents: 3842
diff changeset
9 $(PKG)_SUBDIR := statistics-$($(PKG)_VERSION)
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_FILE := statistics-$($(PKG)_VERSION).tar.gz
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
3345
290e049823c9 Octave-forge pks: support file listing and pre-compilation (for MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
12 $(PKG)_DEPS := of-io
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
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="statistics-\([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
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
3345
290e049823c9 Octave-forge pks: support file listing and pre-compilation (for MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3012
diff changeset
21 $(OCTAVE_FORGE_PKG_BUILD)
2958
04791633efbc Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 endef