mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Polished recipe for Torretor (it still needs more work)
This commit is contained in:
57
haiku-apps/torrentor/torrentor-0.0.5.recipe
Normal file
57
haiku-apps/torrentor/torrentor-0.0.5.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
DESCRIPTION="Torrentor is a torrent client for the haiku operating system."
|
||||
SUMMARY="Torrentor is a torrent client for the haiku operating system."
|
||||
HOMEPAGE="https://github.com/Prodito/Torrentor"
|
||||
SRC_URI="git+https://github.com/Prodito/Torrentor.git#c1fa0cb62963ec3c4980d99fb12e203789d9ab1a"
|
||||
COPYRIGHT="2012 Guido Pola"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
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${secondaryArchSuffix} = $portVersion"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
curl${secondaryArchSuffix}
|
||||
cmd:jam
|
||||
cmd:gcc${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:mkdepend"
|
||||
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libevent${secondaryArchSuffix}
|
||||
devel:libssl${secondaryArchSuffix}
|
||||
devel:libcurl${secondaryArchSuffix}
|
||||
devel:libz${secondaryArchSuffix} # one of dependency needs it
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
lib:libssl${secondaryArchSuffix}
|
||||
lib:libcurl${secondaryArchSuffix}
|
||||
lib:libevent${secondaryArchSuffix}
|
||||
lib:libz${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
jam
|
||||
}
|
||||
|
||||
INSTALL() # just trying compile, code below doesn't have to work well
|
||||
{
|
||||
mkdir -p $appsDir/Torrentor
|
||||
cp Torrentor $appsDir/Torrentor/
|
||||
addAppDeskbarSymlink $appsDir/Torrentor/Torrentor
|
||||
}
|
||||
Reference in New Issue
Block a user