Mercurial > mxe-octave
annotate src/of-sockets.mk @ 3829:2a48f5ac37e1
dist-files.mk: include mingw-osmesa-1-fixes.patch in the list
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Mar 2015 09:32:38 -0500 |
parents | 1bd1588eb068 |
children | 58935b4de51f |
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 := |
3780
d638b6502197
of-sockets: update to 1.2.0
John Donoghue <john.donoghue@ieee.org>
parents:
3561
diff
changeset
|
6 $(PKG)_VERSION := 1.2.0 |
d638b6502197
of-sockets: update to 1.2.0
John Donoghue <john.donoghue@ieee.org>
parents:
3561
diff
changeset
|
7 $(PKG)_CHECKSUM := 8143ad6e18ce6b64911eedd7c318a34a039ddbd1 |
3381
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
3782
1bd1588eb068
of-sockets: change subdir name from sockets to octave-sockets-$($(PKG)_VERSION)
John Donoghue
parents:
3780
diff
changeset
|
9 $(PKG)_SUBDIR := octave-sockets-$($(PKG)_VERSION) |
3381
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)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.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="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
|
17 head -1 |
3381
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 endef |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 $(OCTAVE_FORGE_PKG_BUILD) |
311f0d70597b
Add octave forge sockets package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |