Files
haikuports/net-p2p/transmission/transmission-2.84.recipe
fbrosson f9f77a675c transmission: drop 2.82, touch 2.84, add 2.92.
* Drop recipe for version 2.82.
* Fix SOURCE_URI for 2.84.
* Add recipe for 2.92 with "--enable-cli" (as it's no longuer enabled
  by default) and without "--datadir=$dataDir" which runConfigure
  already takes care of.
2016-03-15 14:04:48 +00:00

70 lines
2.0 KiB
Bash

SUMMARY="A cross-platform open source BitTorrent client"
DESCRIPTION="Transmission has the features you want from a BitTorrent client: \
encryption, a web interface, peer exchange, magnet links, DHT, µTP, UPnP and \
NAT-PMP port forwarding, webseed support, watch directories, tracker editing, \
global and per-torrent speed limits, and more."
HOMEPAGE="https://www.transmissionbt.com/"
COPYRIGHT="2005-2014 By the respective authors"
LICENSE="Transmission
MIT
GNU GPL v2"
REVISION="4"
SOURCE_URI="https://download.transmissionbt.com/files/transmission-$portVersion.tar.xz"
CHECKSUM_SHA256="a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb"
PATCHES="transmission-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
transmission$secondaryArchSuffix = $portVersion
cmd:transmission_cli$secondaryArchSuffix
cmd:transmission_create$secondaryArchSuffix
cmd:transmission_daemon$secondaryArchSuffix
cmd:transmission_edit$secondaryArchSuffix
cmd:transmission_remote$secondaryArchSuffix
cmd:transmission_show$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libevent$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libssl$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libevent$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libgettextlib$secondaryArchSuffix >= 0.14.1
intltool >= 0.40
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:make
cmd:awk
"
BUILD()
{
export CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS"
export CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS"
export LDFLAGS="-lposix_error_mapper"
runConfigure ./configure --without-gtk --datadir=$dataDir
make
}
INSTALL()
{
make install
}