0
0
Fork 0
haikuports/haiku-apps/torrentor/torrentor-0.0.5.recipe

56 lines
1.4 KiB
Bash

SUMMARY="A torrent client"
DESCRIPTION="Torrentor is a torrent client. The BitTorrent protocol was \
created to relieve servers and speed up downloading files. Users are not \
downloading data from servers, but they are sending and receiving directly \
to/from each other."
HOMEPAGE="https://github.com/HaikuArchives/Torrentor"
COPYRIGHT="2012 Guido Pola"
LICENSE="MIT"
REVISION="5"
srcGitRev="21784a23d210bca3d78e4fa3bed846a7bc962d39"
SOURCE_URI="https://github.com/HaikuArchives/Torrentor/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="08e47eefe98e08360f63262548b43ea39995e2ca6514a7178ea9cc7afd7cdf8f"
SOURCE_DIR="Torrentor-$srcGitRev"
ARCHITECTURES="?all !x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
torrentor${secondaryArchSuffix} = $portVersion
app:Torrentor = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
lib:libcurl${secondaryArchSuffix}
lib:libevent${secondaryArchSuffix}
lib:libssl${secondaryArchSuffix}
lib:libz${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcurl${secondaryArchSuffix}
devel:libevent${secondaryArchSuffix}
devel:libssl${secondaryArchSuffix}
devel:libz${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
curl${secondaryArchSuffix}
cmd:gcc${secondaryArchSuffix}
cmd:jam
cmd:make
"
BUILD()
{
export NDEBUG=1
jam $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp build/Release/Torrentor $appsDir
addAppDeskbarSymlink $appsDir/Torrentor
}