38 lines
896 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.43 2015/09/11 09:15:40 pascal Exp $
COMMENT= BitTorrent library written in C++
BROKEN-hppa = undefined references to __sync atomic ops
BROKEN-mips64 = undefined references to __sync atomic ops
BROKEN-sh = undefined references to __sync atomic ops
# requires C++ tr1 headers
NOT_FOR_ARCHS= ${GCC3_ARCHS}
DISTNAME= libtorrent-0.13.6
EPOCH= 0
SHARED_LIBS += torrent 22.0 # .18.0
CATEGORIES= net devel
HOMEPAGE= https://rakshasa.github.io/rtorrent/
MAINTAINER= David Coppa <dcoppa@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://rtorrent.net/downloads/
WANTLIB= crypto m pthread stdc++ z
BUILD_DEPENDS= devel/cppunit
USE_LIBTOOL= gnu
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--with-kqueue \
--without-epoll \
--disable-instrumentation \
--disable-debug
.include <bsd.port.mk>