diff options
author | Nicolas Thill <nico@openwrt.org> | 2014-08-26 10:00:12 +0200 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2014-08-26 10:00:12 +0200 |
commit | df9f3b7b7293181f9c9d4b60a198cc0fda80b8b7 (patch) | |
tree | 675b02c12c4f2a2c6a5621393e47910715cf784c /libs/libarchive | |
parent | fb55936a52ff5aa0b88af35c8fbaf3c449470a48 (diff) |
libarchive: cleanup & fixes
Disable unused stuff explicitely, cleanup package def, only install useful devel stuff
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Diffstat (limited to 'libs/libarchive')
-rw-r--r-- | libs/libarchive/Makefile | 23 |
1 files 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 |