Mercurial > mxe-octave
annotate src/units.mk @ 6113:24e29dcb2e64
Qt5: Update to version 5.15.3.
* src/qtbase.mk: Update version and checksum.
* src/qtbase-2-gcc11.patch: Remove hunks from patch that have been applied
upstream.
* src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslationse.mk:
Update checksum.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 05 Mar 2022 10:59:53 +0100 |
parents | d2f885bfe598 |
children | ff459b8916f0 |
rev | line source |
---|---|
3274 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := units | |
5 $(PKG)_IGNORE := | |
5617
d2f885bfe598
* src/units.mk: update to v2.21
John Donoghue <john.donoghue@ieee.org>
parents:
5093
diff
changeset
|
6 $(PKG)_VERSION := 2.21 |
d2f885bfe598
* src/units.mk: update to v2.21
John Donoghue <john.donoghue@ieee.org>
parents:
5093
diff
changeset
|
7 $(PKG)_CHECKSUM := a897e639111c9400737b68ec22e5f70eaf5d7253 |
3274 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
4637
b92fc8cfb49a
units: update to v2.16
John Donoghue <john.donoghue@ieee.org>
parents:
4395
diff
changeset
|
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/$(PKG)/?C=M;O=D' | \ |
b92fc8cfb49a
units: update to v2.16
John Donoghue <john.donoghue@ieee.org>
parents:
4395
diff
changeset
|
15 $(SED) -n 's,.*<a href="$(PKG)-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
b92fc8cfb49a
units: update to v2.16
John Donoghue <john.donoghue@ieee.org>
parents:
4395
diff
changeset
|
16 head -1 |
3274 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --prefix='$(HOST_PREFIX)' \ | |
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) | |
23 | |
4769
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
24 # override units and localalemap from what configure detected for cross mingw |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
25 if [ "$(MXE_SYSTEM)$(MXE_NATIVE_BUILD)" == "mingwno" ]; then \ |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
26 $(SED) -i -e 's,UNITSFILE=\\\".*definitions.units\\\",UNITSFILE=\\\"definitions.units\\\",g' \ |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
27 -e 's,LOCALEMAP=\\\".*locale_map.txt\\\",LOCALEMAP=\\\"locale_map.txt\\\",g' \ |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
28 '$(1)/Makefile'; \ |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
29 fi |
46bf69e11b71
* src/units.mk: when cross compile for mingw, dont use configure detected units and local file locations
John Donoghue
parents:
4637
diff
changeset
|
30 |
3274 | 31 $(MAKE) -C '$(1)' -j '$(JOBS)' |
3342
5e9dc7f88328
Allow file listing of "units" module.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3274
diff
changeset
|
32 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' |
3274 | 33 endef |