Files
haikuports/haiku-apps/torrentor/torrentor-0.0.5.recipe
Humdinger effe88db3f De-Lint recipes.
*	tar
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	testdisk
	Shortened SUMMARY.
	Re-ordered blocks.

*	the_silver_searcher
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	torrentor
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	trackergrep
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	transmission
	Fixed COPYRIGHT.
	Re-ordered blocks.

*	tree
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	unzip
	Remove "." from SUMMARY.
	Re-ordered blocks.

*	uqm
	Shortened SUMMARY.
	Re-ordered blocks.

*	urllib
	Remove "." from SUMMARY.
	Re-ordered blocks.
2015-07-23 10:23:42 +02:00

61 lines
1.6 KiB
Bash

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."
HOMEPAGE="https://github.com/HaikuArchives/Torrentor"
COPYRIGHT="2012 Guido Pola"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="git+https://github.com/HaikuArchives/Torrentor.git#a04c10fba39c8ba39ffb8ef16c5e67d217231ac6"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
torrentor${secondaryArchSuffix} = $portVersion
app:Torrentor = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
lib:libssl${secondaryArchSuffix}
lib:libcurl${secondaryArchSuffix}
lib:libevent${secondaryArchSuffix}
lib:libz${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libevent${secondaryArchSuffix}
devel:libssl${secondaryArchSuffix}
devel:libcurl${secondaryArchSuffix}
devel:libz${secondaryArchSuffix}
"
BUILD_PREREQUIRES="
makefile_engine
curl${secondaryArchSuffix}
cmd:jam
cmd:gcc${secondaryArchSuffix}
cmd:make
"
BUILD()
{
export NDEBUG=1
jam $jobArgs
}
INSTALL() # just trying compile, code below doesn't have to work well
{
mkdir -p $appsDir/Torrentor
cp build/Release/Torrentor $appsDir/Torrentor/
addAppDeskbarSymlink $appsDir/Torrentor/Torrentor
}