2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-08-25 16:04:56 +02:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# libarchive
|
2009-08-25 16:04:56 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-03-28 06:29:24 +01:00
|
|
|
LIBARCHIVE_VERSION = 3.0.4
|
|
|
|
LIBARCHIVE_SITE = http://github.com/downloads/libarchive/libarchive
|
2009-08-25 16:04:56 +02:00
|
|
|
LIBARCHIVE_INSTALL_STAGING = YES
|
|
|
|
|
2009-10-23 09:53:12 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
LIBARCHIVE_DEPENDENCIES = zlib
|
|
|
|
endif
|
|
|
|
|
2009-10-20 22:31:48 +02:00
|
|
|
LIBARCHIVE_CONF_OPT = \
|
|
|
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \
|
|
|
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio)
|
|
|
|
|
2011-07-10 19:52:52 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
|
|
|
LIBARCHIVE_DEPENDENCIES += libxml2
|
|
|
|
LIBARCHIVE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
|
|
|
|
else
|
|
|
|
LIBARCHIVE_CONF_OPT += --without-xml2
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|