openbsd-ports/net/libtorrent/Makefile
2010-11-11 16:27:54 +00:00

35 lines
802 B
Makefile

# $OpenBSD: Makefile,v 1.23 2010/11/11 16:27:54 espie Exp $
COMMENT= BitTorrent library written in C++
DISTNAME= libtorrent-0.12.6
SHARED_LIBS += torrent 17.0 # .11.6
CATEGORIES= net devel
HOMEPAGE= http://libtorrent.rakshasa.no/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}downloads/
WANTLIB= crypto sigc-2.0
LIB_DEPENDS= :libsigc++->=2,<3:devel/libsigc++-2
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.64
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-kqueue \
--disable-debug
CONFIGURE_ENV= OPENSSL_CFLAGS=-I/usr/include \
OPENSSL_LIBS=-lcrypto
.include <bsd.port.mk>