2009-08-25 16:04:56 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libarchive (reusable C library for archive formats)
|
|
|
|
#
|
|
|
|
#############################################################
|
2012-02-23 23:19:53 +01:00
|
|
|
LIBARCHIVE_VERSION = 2.8.5
|
2009-08-25 16:04:56 +02:00
|
|
|
LIBARCHIVE_SITE = http://libarchive.googlecode.com/files/
|
|
|
|
LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.gz
|
|
|
|
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))
|