openbsd-ports/net/libtorrent/Makefile

36 lines
818 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.17 2008/11/25 16:21:28 naddy Exp $
COMMENT= BitTorrent library written in C++
DISTNAME= libtorrent-0.12.4
SHARED_LIBS += torrent 15.0 # .11.4
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
2006-09-18 07:59:59 -04:00
LIB_DEPENDS= sigc-2.0:libsigc++-2.*:devel/libsigc++-2
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.62
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-openssl \
--with-kqueue \
--disable-debug
CONFIGURE_ENV= OPENSSL_CFLAGS=-I/usr/include \
OPENSSL_LIBS=-lcrypto
.include <bsd.port.mk>