commit 1310ac58969d42988837ff275f49cc30340721ac
parent 30bbf62cb6f7d802aa1b43d928354c4b8713cce7
Author: sbyx <steven@midlink.org>
Date: Mon, 25 Aug 2014 16:46:36 +0200
Merge pull request #236 from ejonny/libarchive-reduce-dependencies
libarchive: Reduce dependencies by disabling them using configure args
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libs/libarchive/Makefile b/libs/libarchive/Makefile
@@ -30,7 +30,7 @@ endef
define Package/libarchive
$(call Package/libarchive/Default)
- DEPENDS:=+libxml2 +libopenssl +zlib +libacl +libattr +libbz2 +liblzo +libnettle
+ DEPENDS:=+libopenssl +zlib
TITLE:=Multi-format archive and compression library
endef
@@ -38,6 +38,14 @@ define Package/libarchive/description
Multi-format archive and compression library.
endef
+CONFIGURE_ARGS += \
+ --disable-acl \
+ --disable-xattr \
+ --without-bz2lib \
+ --without-lzo2 \
+ --without-nettle \
+ --without-xml2
+
define Build/InstallDev
$(INSTALL_DIR) $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/