Mercurial > mxe-octave
annotate src/units.mk @ 5895:2db7f803d55d release
librsb: Update to version 1.2.0.10 (bug #60042).
* src/librsb.mk: Update version and checksum. Remove work-around for fixed bug.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 19 Sep 2021 14:32:07 +0200 |
parents | 0087f1262124 |
children | d2f885bfe598 |
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 := | |
5093 | 6 $(PKG)_VERSION := 2.19 |
7 $(PKG)_CHECKSUM := 8c241b04046cafa4a4503dc3567d8d869b46329c | |
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 |