Mercurial > mxe-octave
annotate src/itstool.mk @ 6082:480f60641fc2
Add openlibm
* src/openlibm.mk: new file
* index.html, dist-files.mk: add ref to new file
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 09 Feb 2022 09:56:44 -0500 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
3179
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 # This file is part of MXE. |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 # See index.html for further information. |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 PKG := itstool |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
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:
3179
diff
changeset
|
6 $(PKG)_VERSION := 1.2.0 |
3179
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := dc6b766c2acec32d3c5d016b0a33e9268d274f63 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := itstool-$($(PKG)_VERSION) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := itstool-$($(PKG)_VERSION).tar.bz2 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://files.itstool.org/itstool/$(PKG)-$($(PKG)_VERSION).tar.bz2 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 $(PKG)_DEPS := |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 $(WGET) -q -O- 'http://itstool.org/download/' | \ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*itstool-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 head -1 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 endef |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 ifeq ($(MXE_SYSTEM),msvc) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 $(PKG)_PREFIX := $(HOST_PREFIX_NATIVE) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 else |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 $(PKG)_PREFIX := $(HOST_PREFIX) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 endif |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 define $(PKG)_BUILD |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 cd '$(1)' && ./configure \ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 --prefix='$($(PKG)_PREFIX)' |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
30 endef |