annotate src/libunistring.mk @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
parents 13d5b82424f7
children 4d276a65f673
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 956
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libunistring
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4820
c68fb0e7a376 * src/libunistring.mk: update version/checmsum for 0.9.10
John Donoghue
parents: 4639
diff changeset
6 $(PKG)_VERSION := 0.9.10
c68fb0e7a376 * src/libunistring.mk: update version/checmsum for 0.9.10
John Donoghue
parents: 4639
diff changeset
7 $(PKG)_CHECKSUM := 1e7493a3ad8c4a1e514600b768c7229576fe5125
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := libiconv
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 grep '<a class="list name"' | \
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
4586
5697e2dfdb7e * src/libidn.mk, src/libunistring.mk: fix PKG_UPDATE version order
John D
parents: 4576
diff changeset
17 $(SORT) -V | \
5697e2dfdb7e * src/libidn.mk, src/libunistring.mk: fix PKG_UPDATE version order
John D
parents: 4576
diff changeset
18 tail -1
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
24 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
25 $(ENABLE_SHARED_OR_STATIC) \
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --enable-threads=win32
4951
13d5b82424f7 dont install docs on libraries
John Donoghue
parents: 4820
diff changeset
27 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)
13d5b82424f7 dont install docs on libraries
John Donoghue
parents: 4820
diff changeset
28 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) htmldir=$(1)
867
35fff97cb63a new package: libunistring
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 endef