annotate src/xz.mk @ 6361:c7c04c1e8b0e

* src/of-symbolic.mk: update to v3.0.1
author John Donoghue <john.donoghue@ieee.org>
date Thu, 11 Aug 2022 10:11:28 -0400
parents d58c36155054
children 911067b5ae67
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: 1880
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.
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := xz
1355
e4bf2c273069 remove unneeded "IGNORE" line of package xz
Volker Grabsch <vog@notjusthosting.com>
parents: 1351
diff changeset
5 $(PKG)_IGNORE :=
5349
d58c36155054 Update xz to v5.2.5
John Donoghue <john.donoghue@ieee.org>
parents: 4857
diff changeset
6 $(PKG)_VERSION := 5.2.5
d58c36155054 Update xz to v5.2.5
John Donoghue <john.donoghue@ieee.org>
parents: 4857
diff changeset
7 $(PKG)_CHECKSUM := 0b9d1e06b59f7fe0796afe1d93851b9306b4a3b6
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
4333
3a97edaa931e src/xz.mk: update version v5.2.3, checksum, use xz file
John D
parents: 4040
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://tukaani.org/xz/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS :=
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
08caaa435f07 new package: xz (by Martin Lambers)
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://tukaani.org/xz/' | \
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*xz-\([0-9][^>]*\)\.tar.*,\1,p' | \
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(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
22 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2642
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
934
60c8d4c40785 disable threading support explicitly because it doesn't work anyway in package xz
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
24 --disable-threads \
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-nls
4040
f51f946b0487 xz: update to 5.2.2
John Donoghue
parents: 3823
diff changeset
26 $(MAKE) -C '$(1)'/src/liblzma -j '$(JOBS)' install DESTDIR='$(3)'
696
08caaa435f07 new package: xz (by Martin Lambers)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef