mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
libarchive: Reduce dependencies by disabling them using configure args
In order to reduce the dependencies, this patch disables following features: * Extended Attributes * ACL support * bzip2 through bz2lib * lzop through liblzo2 * crypto support from Nettle * xar through libxml2 Signed-off-by: Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
This commit is contained in:
@@ -30,7 +30,7 @@ endef
|
|||||||
|
|
||||||
define Package/libarchive
|
define Package/libarchive
|
||||||
$(call Package/libarchive/Default)
|
$(call Package/libarchive/Default)
|
||||||
DEPENDS:=+libxml2 +libopenssl +zlib +libacl +libattr +libbz2 +liblzo +libnettle
|
DEPENDS:=+libopenssl +zlib
|
||||||
TITLE:=Multi-format archive and compression library
|
TITLE:=Multi-format archive and compression library
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -38,6 +38,14 @@ define Package/libarchive/description
|
|||||||
Multi-format archive and compression library.
|
Multi-format archive and compression library.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_ARGS += \
|
||||||
|
--disable-acl \
|
||||||
|
--disable-xattr \
|
||||||
|
--without-bz2lib \
|
||||||
|
--without-lzo2 \
|
||||||
|
--without-nettle \
|
||||||
|
--without-xml2
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)
|
$(INSTALL_DIR) $(1)
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||||
|
|||||||
Reference in New Issue
Block a user