pkgsrc/net/rtorrent/Makefile

45 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2006/11/19 11:50:25 wiz Exp $
DISTNAME= rtorrent-0.6.4
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
Update "libtorrent" package to version 0.8.5 and "rtorrent" package to version 0.4.5. Changes since 0.8.3 respectively 0.4.3: - Bind udp and http tracker requests to the address given with the "bind" option. - Change the priority of a torrent with the '+' and '-' keys. - The schedule option allows clock time for the start and interval sections. - Made it safe to remove torrents being viewed/selected, making "remove_untied" usable. - Added the ^O key to change a closed torrent's destination directory. A bit of a hack, and only works if the torrents hasn't been activated. - Allow new settings to be applied with the ^P key. This can be tested with "print = foobar", which prints the string to the log. - Added the "working_directory" option that calls 'chdir' for the process. - Fixed a bug that caused crashes with small screen sizes. - Enabled a session lock file by default. Made it remove stale locks if the hostname matches and the process id is not running. - Added proper abstraction for creating timers from seconds, this fixes some overflow bugs when scheduling tasks like tracker timeouts. - For every time all the trackers in the list has been unsuccessfully tried, increase the timeout by 20 seconds. - Expand ~ in paths in the client. This should cover all uses of file paths, but I might have missed some. - Added "import" and "try_import" options that loads an option file. The latter silently fails on non-existent files. - Added "-O" flag that takes a single option, allowing ',' to be used.
2006-02-25 18:24:21 +01:00
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://libtorrent.rakshasa.no/
COMMENT= Ncurses based torrent client with support for sessions
2006-11-05 18:31:09 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_NCURSES= yes
2006-06-07 15:03:01 +02:00
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
GCC_REQD+= 3.3
.include "../../mk/bsd.prefs.mk"
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
MESSAGE_SRC= ${PKGDIR}/MESSAGE.BSD
.endif
.include "../../mk/compiler.mk"
# See http://libtorrent.rakshasa.no/ticket/96
.if !empty(CC_VERSION:Mgcc-4.*)
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
2006-11-05 18:31:09 +01:00
INSTALLATION_DIRS= share/examples/rtorrent
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
2006-11-05 18:31:09 +01:00
${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"