openbsd-ports/net/libtorrent/Makefile

35 lines
786 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/11/30 18:18:13 naddy Exp $
COMMENT= BitTorrent library written in C++
DISTNAME= libtorrent-0.11.9
SHARED_LIBS += torrent 14.0 # .10.8
CATEGORIES= net devel
HOMEPAGE= http://libtorrent.rakshasa.no/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}downloads/
WANTLIB= crypto
LIB_DEPENDS= sigc-2.0:libsigc++-2.*:devel/libsigc++-2
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-openssl \
--with-kqueue \
--with-statfs \
--disable-debug
CONFIGURE_ENV= OPENSSL_CFLAGS=-I/usr/include \
OPENSSL_LIBS=-lcrypto
.include <bsd.port.mk>