2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-09-20 17:32:46 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# xz
|
2010-09-20 17:32:46 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-21 12:29:41 +01:00
|
|
|
|
2017-01-02 17:02:26 +01:00
|
|
|
XZ_VERSION = 5.2.3
|
2015-01-07 09:31:42 +01:00
|
|
|
XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2
|
2014-07-31 10:46:58 +02:00
|
|
|
XZ_SITE = http://tukaani.org/xz
|
2010-09-20 17:32:46 +02:00
|
|
|
XZ_INSTALL_STAGING = YES
|
2011-03-05 15:04:44 +01:00
|
|
|
XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
2017-03-30 15:43:34 +02:00
|
|
|
XZ_LICENSE = GPL-2.0+, GPL-3.0+, LGPL-2.1+
|
2013-01-21 12:29:41 +01:00
|
|
|
XZ_LICENSE_FILES = COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1
|
2010-09-20 17:32:46 +02:00
|
|
|
|
2015-01-09 18:03:25 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
XZ_CONF_OPTS = --enable-threads
|
|
|
|
else
|
|
|
|
XZ_CONF_OPTS = --disable-threads
|
|
|
|
endif
|
|
|
|
|
2018-03-24 15:20:04 +01:00
|
|
|
# we are built before ccache
|
|
|
|
HOST_XZ_CONF_ENV = \
|
|
|
|
CC="$(HOSTCC_NOCCACHE)" \
|
|
|
|
CXX="$(HOSTCXX_NOCCACHE)"
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|