blob: c6f6e0bf7308413e96824b241d8be0270d080f1d (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=opentracker
pkgver=0_cvs20100625
pkgrel=5
pkgdesc="an open and free bittorrent tracker"
url="http://erdgeist.org/arts/software/opentracker/"
arch="all"
license="GPL"
makedepends="libowfat-dev zlib-dev"
install="$pkgname.pre-install"
source="https://dev.alpinelinux.org/opentracker/opentracker-$pkgver.tar.gz
opentracker.initd"
builddir="$srcdir"/$pkgname
build() {
cd "$builddir"
PREFIX=/usr/include make
}
package() {
cd "$builddir"
install -d "$pkgdir"/usr/bin
make BINDIR="$pkgdir"/usr/bin install
install -m644 -D opentracker.conf.sample \
"$pkgdir"/etc/opentracker/opentracker.conf
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="85686782d8f4469b3bbcd67851b86bb43fc258b6f347a695cef83b2d1354880eaeca475b85cce475646cec5e118a5dd3cb27c664166d0f5a8158a8662f633f01 opentracker-0_cvs20100625.tar.gz
80ae2f4f5a485df7e3dab982068f3b79457721fd87e00e6a3450003f1a7685ade3e0edd4ab341a822abd51f002d3a8f7b897b38e76ac360fd6a0551c91a56d77 opentracker.initd"
|