summaryrefslogtreecommitdiffstats
path: root/main/opentracker/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-30 15:55:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-30 15:55:28 +0000
commit2da022a8f0642c8990ba999256fc8b9ccada29f2 (patch)
tree2d7c1424e74ef5b61629f59854acffe3cc398482 /main/opentracker/APKBUILD
parente00b3c4c5b38263565b62a6674516f8492b2a532 (diff)
downloadaports-2da022a8f0642c8990ba999256fc8b9ccada29f2.tar.bz2
aports-2da022a8f0642c8990ba999256fc8b9ccada29f2.tar.xz
main/opentracker: moved from testing
fixes #190
Diffstat (limited to 'main/opentracker/APKBUILD')
-rw-r--r--main/opentracker/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/opentracker/APKBUILD b/main/opentracker/APKBUILD
new file mode 100644
index 000000000..681d55263
--- /dev/null
+++ b/main/opentracker/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor:
+# Maintainer:
+pkgname=opentracker
+pkgver=0_cvs20100625
+pkgrel=1
+pkgdesc="an open and free bittorrent tracker"
+url="http://erdgeist.org/arts/software/opentracker/"
+license="GPL"
+depends=
+makedepends="libowfat-dev"
+install="$pkgname.pre-install"
+subpackages=
+source="http://dev.alpinelinux.org/opentracker/opentracker-$pkgver.tar.gz
+ opentracker.initd"
+
+_builddir="$srcdir"/$pkgname
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -d "$pkgdir"/usr/bin
+ make BINDIR="$pkgdir"/usr/bin install || return 1
+ install -m644 -D opentracker.conf.sample \
+ "$pkgdir"/etc/opentracker/opentracker.conf
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+}
+
+md5sums="8d02a6f7a241c6b8c98e2dbde086cfcf opentracker-0_cvs20100625.tar.gz
+1e1e687e78959833463ceb55101a3173 opentracker.initd"