36 lines
974 B
Makefile
36 lines
974 B
Makefile
# $OpenBSD: Makefile,v 1.24 2013/03/21 08:45:11 ajacoutot Exp $
|
|
|
|
COMMENT= multi-format archive and compression library
|
|
|
|
DISTNAME= libarchive-3.0.4
|
|
SHARED_LIBS= archive 8.0 # .12.4
|
|
CATEGORIES= archivers
|
|
HOMEPAGE= http://libarchive.github.com/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= https://github.com/downloads/libarchive/libarchive/
|
|
|
|
MODULES= converters/libiconv
|
|
WANTLIB= bz2 c expat lzma z
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
archivers/xz
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+=--without-lzmadec # old LZMA utils
|
|
CONFIGURE_ARGS+=--without-nettle # prefer OpenSSL
|
|
CONFIGURE_ARGS+=--without-xml2 # expat suffices
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
|
|
|
|
# Regression tests:
|
|
# libarchive/test_entry fails due to lacking locale/widechar support
|
|
|
|
.include <bsd.port.mk>
|