annotate src/xz.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents d8d9bc9df2b5
children
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 :=
7149
d8d9bc9df2b5 * src/build-xz.mk, src/xz.mk: revert back to v5.4.6
John Donoghue <john.donoghue@ieee.org>
parents: 7126
diff changeset
6 $(PKG)_VERSION := 5.4.6
d8d9bc9df2b5 * src/build-xz.mk, src/xz.mk: revert back to v5.4.6
John Donoghue <john.donoghue@ieee.org>
parents: 7126
diff changeset
7 $(PKG)_CHECKSUM := 9bdeacb7ae00b353b4fb5414ea48cc44f52c2439
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
7066
a3df040686b0 * src/build-xz.mk, src/xz.mk: update to v5.4.6, update download url
John Donoghue <john.donoghue@ieee.org>
parents: 6951
diff changeset
10 $(PKG)_URL := https://github.com/tukaani-project/xz/releases/download/v$($(PKG)_VERSION)/$($(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
6431
e5ffad81f0ce pass egrep to xz
John Donoghue <john.donoghue@ieee.org>
parents: 6373
diff changeset
20 cd '$(1)' && autoreconf -fi && EGREP=$(EGREP) ./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