openbsd-ports/devel/droplet/Makefile
2013-03-21 08:45:11 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/21 08:45:14 ajacoutot Exp $
SHARED_ONLY= Yes
CATEGORIES= devel
COMMENT= high perfomance Cloud Storage client library
VERSION= 1.1
REVISION= 0
DISTNAME= droplet-${VERSION}
HOMEPAGE= https://github.com/scality/Droplet
SHARED_LIBS= droplet 0.0 #0.0
MAINTAINER= Rafael Sadowski <rafael@sizeofvoid.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= crypto json m pthread ssl xml2 z
MASTER_SITES= http://www.sizeofvoid.org/pub/OpenBSD/distfiles/
WRKDIST= ${WRKDIR}/scality-Droplet-e6692cc
MODULES= converters/libiconv
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/json-c \
devel/libtool
# XXX Depends on libtool macros
LIB_DEPENDS= textproc/libxml \
devel/json-c
AUTOCONF_VERSION= 2.68
AUTOMAKE_VERSION= 1.11
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
cd ${WRKBUILD} && env AUTOCONF_VERSION=2.68 AUTOMAKE_VERSION=1.11 \
/bin/sh ./autogen.sh
.include <bsd.port.mk>