Mercurial > mxe-octave
annotate src/of-optim.mk @ 4200:5cee475eceb0
temporary fixes for of-odepkg package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Aug 2016 15:02:02 -0400 |
parents | e79854fa53be |
children | 3011aee4a997 |
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-optim |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4131 | 6 $(PKG)_VERSION := 1.5.1 |
7 $(PKG)_CHECKSUM := d950a9971253063061d361de83f93ce010ca454d | |
2958
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := optim-$($(PKG)_VERSION) |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := optim-$($(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="optim-\([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 |