summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authoradam <adam>2005-07-22 22:24:39 +0000
committeradam <adam>2005-07-22 22:24:39 +0000
commit1cf664698f88072d199752ebb454824c6320d891 (patch)
tree32858c766a69ba1cc28f2ed271b5ed24dfe06adf /net/libtorrent
parented499705bd03da7eddea48b07114ac4151ecc906 (diff)
downloadpkgsrc-1cf664698f88072d199752ebb454824c6320d891.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/libtorrent')
-rw-r--r--net/libtorrent/DESCR3
-rw-r--r--net/libtorrent/Makefile18
-rw-r--r--net/libtorrent/PLIST14
-rw-r--r--net/libtorrent/buildlink3.mk21
-rw-r--r--net/libtorrent/distinfo6
-rw-r--r--net/libtorrent/patches/patch-aa13
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