pkgsrc/net/rtorrent/Makefile
adam e26603ffce rtorrent: updated to 0.9.7
0.9.7:
Bug-fix release while feature-bind is being worked on.

Fixed ip filter memory usage.
Add space to fmt str in log_gz_file_write.
Fix compilation issue with gcc v6.x and empty CXXFLAGS.
Fix BEP7 compatibility with IPv6 trackers and IPv4 peers.
Include SCGI/XMLRPC example in rtorrent.rc.
Handle SIGHUP like SIGINT.
Fix Throttle args.
Fix missing ranlib - not defined but used.
Fix no // are at start of expanded paths.
Fix ncurses header include.
Fix segfault when viewing a magnet download in the leeching view.
2018-06-24 16:59:52 +00:00

53 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.70 2018/06/24 16:59:52 adam Exp $
DISTNAME= rtorrent-0.9.7
CATEGORIES= net
MASTER_SITES= http://rtorrent.net/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/rakshasa/rtorrent
COMMENT= Ncurses based torrent client with support for sessions
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_NCURSES= yes # chgat
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "x86_64"
GCC_REQD+= 4.1.3
.else
GCC_REQD+= 4.2.1
.endif
.include "../../mk/pthread.buildlink3.mk"
LDFLAGS+= ${PTHREAD_LDFLAGS}
.include "options.mk"
# See http://libtorrent.rakshasa.no/ticket/77
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.0.*)
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
.if !empty(CC_VERSION:Mgcc-*) && !empty(MACHINE_ARCH:Mi?86)
CXXFLAGS+= -march=i486
.endif
INSTALLATION_DIRS= share/examples/rtorrent
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
${DESTDIR}${PREFIX}/share/examples/rtorrent
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libtorrent/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"