pkgsrc/net/libtorrent/Makefile
tron a5b36fa336 Update "libtorrent" package to version 0.11.7 and "rtorrent" package
to version 0.7.7. Changes since version 0.11.6/0.7.6:
- Renamed all commands to from e.g "get_d_*" to "d.get_*". Remember to
  update your rc file.
- Removed support for appending multiple commands to 'schedule'.
  Multiple commands must now be quoted, e.g "print=cmd1 ;print=cmd2".
-  Enabled 'max_downloads_div' by default. This should give better
  connection responsiveness if a reasonable download throttle rate is set.
- Added a default low_diskspace check for 500MB. It is scheduled with
  the id "low_diskspace".
- Allow lists as arguments in commands by using '{' and '}'. The list
  will be recursed and all '$' will be called, while '~' will only be
  expanded when in the first element in the list. E.g "execute =
  touch,{~/tmp/,$get_client_version=}".
- Added 'execute_log' for logging the result of calls to 'execute'.
- Dynamically sized SCGI read buffer, system.multicall should work
  properly now.
- Added 'call_download' that takes a view as the first parameter and
  then a list of commands. It will return a list of lists containing the
  results from those commands.
- Allow loading torrents from https and ftp uri's.

A quick release to get new "d.get_*" naming into use before too many
people write XMLRPC clients using the old commands.
2007-09-18 12:35:12 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2007/09/18 12:35:12 tron Exp $
DISTNAME= libtorrent-0.11.7
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://libtorrent.rakshasa.no/
COMMENT= BitTorrent library written in C++ for *nix
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug
GCC_REQD+= 3.3
.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
.include "../../security/openssl/buildlink3.mk"
.if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc)
OPENSSL_CFLAGS= -I${BUILDLINK_PREFIX.openssl}/include
OPENSSL_LIBS= -L${BUILDLINK_PREFIX.openssl}/lib \
-W,-lR${BUILDLINK_PREFIX.openssl}/lib
CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LIBS:Q}
.endif
.include "../../devel/libsigc++2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"