ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 3cc702ff0729dee20932a2f501511e053f0ba486
parent 7880bf42420a8f267f3ba5b46ef67a31f61161ca
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  5 Jun 2014 16:27:21 +0200

add rtorrent

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Artorrent/checksums | 1+
Artorrent/mkfile | 6++++++
Artorrent/rtorrent.mk | 25+++++++++++++++++++++++++
Artorrent/v.mk | 1+
4 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/rtorrent/checksums b/rtorrent/checksums @@ -0,0 +1 @@ +8b170021ca28ebe6c9bfd1405fe38962828a21eb0020460786115ff360ef62d325b745976fb29996a80387e763465f7b3ef0c47ca30b185a5c98a060cc151c38 rtorrent-0.9.2.tar.gz diff --git a/rtorrent/mkfile b/rtorrent/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = rtorrent-$v +url = http://libtorrent.rakshasa.no/downloads/rtorrent-$v.tar.gz +mkfile = ../rtorrent.mk diff --git a/rtorrent/rtorrent.mk b/rtorrent/rtorrent.mk @@ -0,0 +1,25 @@ +TARG = rtorrent +DEPS = ncurses zlib openssl libtorrent libsigcpp curl +INSTALL_BIN = src/rtorrent +INSTALL_MAN1 = doc/rtorrent.1 + +<$mkbuild/mk.common + +rtorrent:QV: + export CFLAGS="$CFLAGS $DEPS_CFLAGS" + export CPPFLAGS="$CFLAGS" + export CXXFLAGS="$CFLAGS" + export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" + export libcurl_CFLAGS="-I${curl_includedir} -I${openssl_includedir}" + export libcurl_LIBS="-L${curl_libdir} -lcurl -L${openssl_libdir} -lssl -lcrypto -L${zlib_libdir} -lz" + export sigc_CFLAGS="-I${libsigcpp_includedir} -I${libsigcpp_libdir}/sigc++-2.0/include" + export sigc_LIBS="-L${libsigcpp_libdir} -lsigc-2.0" + export libtorrent_CFLAGS="-I${libtorrent_includedir}" + export libtorrent_LIBS="-L${libtorrent_libdir} -ltorrent -L${ncurses_libdir}" + ./configure \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" \ + --disable-shared \ + --enable-static \ + --enable-ipv6 + make -j$nprocs LDFLAGS="-all-static" diff --git a/rtorrent/v.mk b/rtorrent/v.mk @@ -0,0 +1 @@ +v = 0.9.2