1SUMMARY="A torrent client" 2DESCRIPTION="Torrentor is a torrent client. The BitTorrent protocol was \ 3created to relieve servers and speed up downloading files. Users are not \ 4downloading data from servers, but they are sending and receiving directly \ 5to/from each other." 6HOMEPAGE="https://github.com/HaikuArchives/Torrentor" 7COPYRIGHT="2012 Guido Pola" 8LICENSE="MIT" 9REVISION="5" 10srcGitRev="21784a23d210bca3d78e4fa3bed846a7bc962d39" 11SOURCE_URI="https://github.com/HaikuArchives/Torrentor/archive/$srcGitRev.tar.gz" 12CHECKSUM_SHA256="08e47eefe98e08360f63262548b43ea39995e2ca6514a7178ea9cc7afd7cdf8f" 13SOURCE_DIR="Torrentor-$srcGitRev" 14 15ARCHITECTURES="!all !x86_gcc2" 16SECONDARY_ARCHITECTURES="!x86" 17 18PROVIDES=" 19 torrentor${secondaryArchSuffix} = $portVersion 20 app:Torrentor = $portVersion 21 " 22REQUIRES=" 23 haiku${secondaryArchSuffix} 24 lib:libcurl${secondaryArchSuffix} 25 lib:libevent${secondaryArchSuffix} 26 lib:libssl${secondaryArchSuffix} 27 lib:libz${secondaryArchSuffix} 28 " 29 30BUILD_REQUIRES=" 31 haiku${secondaryArchSuffix}_devel 32 devel:libcurl${secondaryArchSuffix} 33 devel:libevent${secondaryArchSuffix} 34 devel:libssl${secondaryArchSuffix} 35 devel:libz${secondaryArchSuffix} 36 " 37BUILD_PREREQUIRES=" 38 curl${secondaryArchSuffix} 39 cmd:gcc${secondaryArchSuffix} 40 cmd:jam 41 cmd:make 42 " 43 44BUILD() 45{ 46 export NDEBUG=1 47 jam $jobArgs 48} 49 50INSTALL() 51{ 52 mkdir -p $appsDir 53 cp build/Release/Torrentor $appsDir 54 addAppDeskbarSymlink $appsDir/Torrentor 55} 56