mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
72 lines
1.7 KiB
Bash
72 lines
1.7 KiB
Bash
SUMMARY="BitTorrent Client using libtorrent"
|
|
DESCRIPTION="rTorrent is a text-based ncurses BitTorrent client written in C++, \
|
|
based on the libTorrent libraries for Unix, whose author's goal is 'a \
|
|
focus on high performance and good code'."
|
|
HOMEPAGE="http://libtorrent.rakshasa.no/"
|
|
COPYRIGHT="2005-2016 Jari Sundell"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/rakshasa/rtorrent/archive/$portVersion.zip"
|
|
CHECKSUM_SHA256="228cd2fac94860dcee42a03f4bdc6a4deeec9b33ed7de356b64fc5e175481ee8"
|
|
PATCHES="rtorrent_x86-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
rtorrent$secondaryArchSuffix = $portVersion
|
|
cmd:rtorrent$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libcurl$secondaryArchSuffix
|
|
lib:libgettextpo$secondaryArchSuffix
|
|
lib:libncursesw$secondaryArchSuffix
|
|
lib:libsigc_2.0$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libtorrent$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcppunit$secondaryArchSuffix
|
|
devel:libcurl$secondaryArchSuffix
|
|
devel:libgettextlib$secondaryArchSuffix
|
|
devel:libncursesw${secondaryArchSuffix}
|
|
devel:libsigc_2.0$secondaryArchSuffix
|
|
devel:libtorrent$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:gettext$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
cmd:strip$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
export CFLAGS=-D_BSD_SOURCE
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
strip $binDir/*
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|