Mercurial > mxe-octave
annotate src/of-struct.mk @ 4238:bdcbb82d57e2
pkg-install.py: fail pkg build if configure fails (Bug #49503)
* tools/pkg-install.py: check status of configure call and raise exeption on error
author | John D |
---|---|
date | Thu, 03 Nov 2016 03:48:05 -0400 |
parents | e700dc14cc04 |
children | 1933a9113e65 |
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-struct |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4225 | 6 $(PKG)_VERSION := 1.0.14 |
7 $(PKG)_CHECKSUM := c017ae121f2c9535704c677e64ea5fd2ac7b88f5 | |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
3345
290e049823c9
Octave-forge pks: support file listing and pre-compilation (for MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3012
diff
changeset
|
9 $(PKG)_SUBDIR := struct-$($(PKG)_VERSION) |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := struct-$($(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' |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := |
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="struct-\([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 |