openbsd-ports/archivers/libarchive/Makefile

37 lines
978 B
Makefile
Raw Normal View History

2010-04-05 07:36:55 -04:00
# $OpenBSD: Makefile,v 1.13 2010/04/05 11:36:55 naddy Exp $
COMMENT= library for reading and writing streaming archives
2010-04-05 07:36:55 -04:00
DISTNAME= libarchive-2.8.3
SHARED_LIBS= archive 6.0 # .10.3
CATEGORIES= archivers
HOMEPAGE= http://code.google.com/p/libarchive/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://libarchive.googlecode.com/files/
2010-04-05 07:36:55 -04:00
WANTLIB= c expat z
2009-01-01 11:46:25 -05:00
LIB_DEPENDS= bz2.>=10::archivers/bzip2 \
lzma.>=0::archivers/xz
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
2010-04-05 07:36:55 -04:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+=--without-lzmadec # old LZMA utils
CONFIGURE_ARGS+=--without-xml2 # expat suffices
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
2009-04-18 14:22:49 -04:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build/autoconf
2010-04-05 07:36:55 -04:00
# Regression tests:
# libarchive/test_entry fails due to lacking locale/widechar support
.include <bsd.port.mk>