bind: update to 9.18.32
[openadk.git] / package / libarchive / Makefile
blob67923beea5d3b9fa06652da736e049ff3156c4a8
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libarchive
7 PKG_VERSION:= 3.3.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e
10 PKG_DESCR:= multiformat archive and compression library
11 PKG_SECTION:= libs/comp
12 PKG_URL:= http://www.libarchive.org/
13 PKG_SITES:= http://www.libarchive.org/downloads/
14 PKG_OPTS:= dev
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,LIBARCHIVE,libarchive,$(PKG_VERSION)-$(PKG_RELEASE)))
22 $(eval $(call PKG_template,LIBARCHIVE,libarchive,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
24 XAKE_FLAGS+= V=1
25 CONFIGURE_ARGS+= --disable-xattr \
26 --disable-acl \
27 --without-xml2 \
28 --without-lzma \
29 --without-lzmadec \
30 --without-lz4 \
31 --without-lzo2 \
32 --without-nettle \
33 --without-openssl \
34 --without-expat \
35 --without-bz2lib \
36 --without-zlib
38 libarchive-install:
39 $(INSTALL_DIR) $(IDIR_LIBARCHIVE)/usr/lib
40 $(CP) $(WRKINST)/usr/lib/libarchive*.so* \
41 $(IDIR_LIBARCHIVE)/usr/lib
43 include $(ADK_TOPDIR)/mk/host-bottom.mk
44 include $(ADK_TOPDIR)/mk/pkg-bottom.mk