Updated Torrentor recipe

* Use safe sources
* Update srcGitRev to buildfixed commit
* Put Torrentor directly into $appsDir
* Remove dependency on makefile_engine
* Improved DESCRIPTION
This commit is contained in:
Humdinger
2017-02-19 20:03:29 +01:00
parent e741c39713
commit eb57d540b4

View File

@@ -1,13 +1,16 @@
SUMMARY="A torrent client"
DESCRIPTION="Torrentor is a torrent client for the Haiku operating system. \
BitTorrent protocol is created for relieving servers and speed up downloading \
files. Users are not downloading data directly from server, but they are \
sending to and receiving it from themselves."
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="2"
SOURCE_URI="git+https://github.com/HaikuArchives/Torrentor.git#a04c10fba39c8ba39ffb8ef16c5e67d217231ac6"
REVISION="3"
srcGitRev="21784a23d210bca3d78e4fa3bed846a7bc962d39"
SOURCE_URI="https://github.com/HaikuArchives/Torrentor/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="08e47eefe98e08360f63262548b43ea39995e2ca6514a7178ea9cc7afd7cdf8f"
SOURCE_DIR="Torrentor-$srcGitRev"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -32,7 +35,6 @@ BUILD_REQUIRES="
devel:libz${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
makefile_engine
curl${secondaryArchSuffix}
cmd:jam
cmd:gcc${secondaryArchSuffix}
@@ -45,9 +47,9 @@ BUILD()
jam $jobArgs
}
INSTALL() # just trying compile, code below doesn't have to work well
INSTALL()
{
mkdir -p $appsDir/Torrentor
cp build/Release/Torrentor $appsDir/Torrentor/
addAppDeskbarSymlink $appsDir/Torrentor/Torrentor
mkdir -p $appsDir
cp build/Release/Torrentor $appsDir
addAppDeskbarSymlink $appsDir/Torrentor
}