Mercurial > mxe-octave
annotate src/of-optim.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 04791633efbc |
children | 100e618349f7 |
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 := |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM := c1fbd588dd11150ff4e973d4b93582c8bd6126ed |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_REMOTE_SUBDIR := |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := optim-$($(PKG)_VERSION) |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := optim-$($(PKG)_VERSION).tar.gz |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_FIXED_FILE := optim-$($(PKG)_VERSION)a.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 |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 echo $($(PKG)_VERSION) |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 endef |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 mkdir -p '$(PREFIX)/$(TARGET)/src' |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 cd '$(1)/..' \ |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 && tar czf $($(PKG)_FIXED_FILE) $($(PKG)_SUBDIR) \ |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 && $(INSTALL) -m644 '$($(PKG)_FIXED_FILE)' '$(PREFIX)/$(TARGET)/src' |
04791633efbc
Octave Forge package sources and build script
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 endef |