From df9f3b7b7293181f9c9d4b60a198cc0fda80b8b7 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Tue, 26 Aug 2014 10:00:12 +0200 Subject: [PATCH] libarchive: cleanup & fixes Disable unused stuff explicitely, cleanup package def, only install useful devel stuff Signed-off-by: Nicolas Thill --- libs/libarchive/Makefile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/libs/libarchive/Makefile b/libs/libarchive/Makefile index 1693cd015..91bbe5462 100644 --- a/libs/libarchive/Makefile +++ b/libs/libarchive/Makefile @@ -22,33 +22,32 @@ PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk -define Package/libarchive/Default +define Package/libarchive SECTION:=libs CATEGORY:=Libraries - URL:=http://www.libarchive.org -endef - -define Package/libarchive - $(call Package/libarchive/Default) DEPENDS:=+libopenssl +zlib TITLE:=Multi-format archive and compression library -endef - -define Package/libarchive/description - Multi-format archive and compression library. + URL:=http://www.libarchive.org/ endef CONFIGURE_ARGS += \ + --disable-bsdcpio \ + --disable-bsdtar \ --disable-acl \ --disable-xattr \ --without-bz2lib \ + --without-lzma \ + --without-lzmadec \ --without-lzo2 \ --without-nettle \ + --without-expat \ --without-xml2 define Build/InstallDev - $(INSTALL_DIR) $(1) - $(CP) $(PKG_INSTALL_DIR)/* $(1)/ + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ endef define Package/libarchive/install