annotate src/of-sockets.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 d638b6502197
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3381
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := of-sockets
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
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: 3381
diff changeset
6 $(PKG)_VERSION := 1.0.8
3381
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := c4d4f6bea306dd4d722b3f7d8cf475a9fdd0dbba
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_SUBDIR := sockets
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_FILE := sockets-$($(PKG)_VERSION).tar.gz
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_FIXED_FILE := sockets-$($(PKG)_VERSION)a.tar.gz
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(PKG)_DEPS :=
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 define $(PKG)_UPDATE
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
16 $(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
17 $(SED) -n 's,.*title="sockets-\([0-9][^"]*\).tar.gz".*,\1,p' | \
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18 head -1
3381
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 endef
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 define $(PKG)_BUILD
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 $(OCTAVE_FORGE_PKG_BUILD)
311f0d70597b Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 endef