summaryrefslogtreecommitdiffstats
path: root/extra/transmission/APKBUILD
blob: b3886e3d32c413ac6ce2000bb204e3dc95990832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer:Carlo Landmeter
pkgname=transmission
pkgver=1.51
pkgel=0
pkgdesc="Fast, easy, and fee BitToent client (CLI tools daemon and webinterface)"
url="http://www.tansmissionbt.com"
install="$pkgname.pre-install"
license="MIT"
depends="curl"
makedepends="openssl-dev pkgconfig curl-dev"
source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
	transmission-daemon.initd
	transmission-daemon.confd
	$pkgname.pre-install"
subpackages="$pkgname-doc"

build() {
        cd "$srcdir/$pkgname-$pkgver"

        ./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--disable-gtk \
		--disable-nls
        make || return 1
        make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
        install -D -m755 "$srcdir"/transmission-daemon.initd "$pkgdir"/etc/init.d/transmission-daemon
        install -D -m644 "$srcdir"/transmission-daemon.confd "$pkgdir"/etc/conf.d/transmission-daemon
}
md5sums="b93439fbd0040ad6eb448f70a48355f5  transmission-1.51.tar.bz2
b3b921242bdc3b33a8ac05fc30653b6c  transmission-daemon.initd
89478a70fcd93463e1dd8d751da994da  transmission-daemon.confd
f1c8d94e1f7ff77c23a7e92d3860754d  transmission.pre-install"