683a964c8f
libarchive comes with two binaries, bsdtar and bsdcpio that used to be installed by default. This change makes this configurable with the default not to build and install the binaries. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
18 lines
646 B
Makefile
18 lines
646 B
Makefile
#############################################################
|
|
#
|
|
# 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
|
|
|
|
LIBARCHIVE_CONF_OPT = \
|
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDTAR),--enable-bsdtar,--disable-bsdtar) \
|
|
$(if $(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),--enable-bsdcpio,--disable-bsdcpio)
|
|
|
|
$(eval $(call AUTOTARGETS,package,libarchive))
|