2009-08-25 16:04:56 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libarchive (reusable C library for archive formats)
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
LIBARCHIVE_VERSION = 2.7.1
|
|
|
|
LIBARCHIVE_SITE = http://libarchive.googlecode.com/files/
|
|
|
|
LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.gz
|
|
|
|
LIBARCHIVE_LIBTOOL_PATCH = NO
|
|
|
|
LIBARCHIVE_INSTALL_STAGING = YES
|
|
|
|
LIBARCHIVE_INSTALL_TARGET = 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)
|
|
|
|
|
2009-08-25 16:04:56 +02:00
|
|
|
$(eval $(call AUTOTARGETS,package,libarchive))
|