diff options
author | adam <adam> | 2005-07-22 22:24:39 +0000 |
---|---|---|
committer | adam <adam> | 2005-07-22 22:24:39 +0000 |
commit | 19234da3d90dfa7ff1c578e4e32c7477ec241682 (patch) | |
tree | 32858c766a69ba1cc28f2ed271b5ed24dfe06adf /net | |
parent | 032d1113f0dc6ff7d280edc31ac85f5913f48156 (diff) | |
download | pkgsrc-19234da3d90dfa7ff1c578e4e32c7477ec241682.tar.gz |
LibTorrent is a BitTorrent library written in C++ for *nix. It is designed to
avoid redundant copying and storing of data that other clients and libraries
suffer from. Licensed under the GPL.
Diffstat (limited to 'net')
-rw-r--r-- | net/libtorrent/DESCR | 3 | ||||
-rw-r--r-- | net/libtorrent/Makefile | 18 | ||||
-rw-r--r-- | net/libtorrent/PLIST | 14 | ||||
-rw-r--r-- | net/libtorrent/buildlink3.mk | 21 | ||||
-rw-r--r-- | net/libtorrent/distinfo | 6 | ||||
-rw-r--r-- | net/libtorrent/patches/patch-aa | 13 |
6 files changed, 75 insertions, 0 deletions
diff --git a/net/libtorrent/DESCR b/net/libtorrent/DESCR new file mode 100644 index 00000000000..8122c6c6c09 --- /dev/null +++ b/net/libtorrent/DESCR @@ -0,0 +1,3 @@ +LibTorrent is a BitTorrent library written in C++ for *nix. It is designed to +avoid redundant copying and storing of data that other clients and libraries +suffer from. Licensed under the GPL. diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile new file mode 100644 index 00000000000..900d9e254b9 --- /dev/null +++ b/net/libtorrent/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/07/22 22:24:39 adam Exp $ + +DISTNAME= libtorrent-0.7.0 +CATEGORIES= net +MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ + +MAINTAINER= imil@gcu.info +HOMEPAGE= http://libtorrent.rakshasa.no/ +COMMENT= BitTorrent library written in C++ for *nix + +USE_LIBTOOL= yes +USE_TOOLS+= gmake +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} + +.include "../../devel/libsigc++2/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/libtorrent/PLIST b/net/libtorrent/PLIST new file mode 100644 index 00000000000..ab60db6808f --- /dev/null +++ b/net/libtorrent/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/22 22:24:39 adam Exp $ +include/torrent/bencode.h +include/torrent/common.h +include/torrent/download.h +include/torrent/entry.h +include/torrent/exceptions.h +include/torrent/http.h +include/torrent/peer.h +include/torrent/rate.h +include/torrent/torrent.h +include/torrent/tracker.h +lib/libtorrent.la +lib/pkgconfig/libtorrent.pc +@dirrm include/torrent diff --git a/net/libtorrent/buildlink3.mk b/net/libtorrent/buildlink3.mk new file mode 100644 index 00000000000..bc1a0712ab9 --- /dev/null +++ b/net/libtorrent/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/07/22 22:24:39 adam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBTORRENT_BUILDLINK3_MK:= ${LIBTORRENT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libtorrent +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtorrent} +BUILDLINK_PACKAGES+= libtorrent + +.if !empty(LIBTORRENT_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libtorrent+= libtorrent>=0.7.0 +BUILDLINK_PKGSRCDIR.libtorrent?= ../../wip/libtorrent +.endif # LIBTORRENT_BUILDLINK3_MK + +.include "../../devel/libsigc++2/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo new file mode 100644 index 00000000000..3450cf81e95 --- /dev/null +++ b/net/libtorrent/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/07/22 22:24:39 adam Exp $ + +SHA1 (libtorrent-0.7.0.tar.gz) = a14bfdb15eb078ff0ae8dc4445381c01b04486fe +RMD160 (libtorrent-0.7.0.tar.gz) = 042911fd5d74c55320bcad85ca6a0f3058f24afa +Size (libtorrent-0.7.0.tar.gz) = 317298 bytes +SHA1 (patch-aa) = bb40555e2f7507879711000d510c0d3d9e3d6cd0 diff --git a/net/libtorrent/patches/patch-aa b/net/libtorrent/patches/patch-aa new file mode 100644 index 00000000000..434ac0ad0af --- /dev/null +++ b/net/libtorrent/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/07/22 22:24:39 adam Exp $ + +--- configure.orig 2005-07-22 20:40:20.000000000 +0000 ++++ configure +@@ -8053,7 +8053,7 @@ esac + echo "$as_me:$LINENO: checking for user-defined CXXFLAGS" >&5 + echo $ECHO_N "checking for user-defined CXXFLAGS... $ECHO_C" >&6 + +- if test $CXXFLAGS; then ++ if test "$CXXFLAGS"; then + echo "$as_me:$LINENO: result: user-defined \"$CXXFLAGS\"" >&5 + echo "${ECHO_T}user-defined \"$CXXFLAGS\"" >&6 + else |