aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rtapd/APKBUILD
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2010-02-12 15:19:43 +0000
committerMichael Mason <ms13sp@gmail.com>2010-03-08 20:57:31 +0000
commit08d591b04acf41d5cdbc6d3c7c4206f2793e8d72 (patch)
treebdaf4581bc626b78a17be529ef9349c816ec480c /testing/rtapd/APKBUILD
parentcab470b7a8cb5091f683190fc2baf31114c91b1e (diff)
downloadaports-08d591b04acf41d5cdbc6d3c7c4206f2793e8d72.tar.bz2
aports-08d591b04acf41d5cdbc6d3c7c4206f2793e8d72.tar.xz
Updated packages and adding new ones to testing
Diffstat (limited to 'testing/rtapd/APKBUILD')
-rw-r--r--testing/rtapd/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/rtapd/APKBUILD b/testing/rtapd/APKBUILD
new file mode 100644
index 0000000000..8a1552a91c
--- /dev/null
+++ b/testing/rtapd/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Michael Mason <ms13sp@gmail.com>
+pkgname=rtapd
+_pkgname=rtnppd
+pkgver=1.7
+pkgrel=0
+pkgdesc="Telocator Network Paging Protocol"
+url="http://rtnppd.sourceforge.net/"
+license="GPL"
+depends=""
+makedepends=""
+install=
+subpackages=""
+source="http://downloads.sourceforge.net/$_pkgname/$pkgname-$pkgver.tar.gz
+ rtapd.initd
+ rtapd.confd"
+_builddir="$srcdir"/$pkgname
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+build() {
+ cd "$_builddir"
+
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+# make DESTDIR="$pkgdir" install
+ install -m644 -D rtapd.conf "$pkgdir"/etc/$_pkgname/rtapd.conf
+ install -m644 -D tap_dev.conf "$pkgdir"/etc/$_pkgname/tap_dev.conf
+ install -m644 -D tap_route.conf "$pkgdir"/etc/$_pkgname/tap_route.conf
+ install -m644 -D ../rtapd.confd "$pkgdir"/etc/conf.d/rtapd
+ install -m755 -D ../rtapd.initd "$pkgdir"/etc/init.d/rtapd
+ #install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg
+}
+
+md5sums="f3354efde507d29813754c8f4af7fa02 rtapd-1.7.tar.gz
+bd5aa6b7477064be5966962b90be55b5 rtapd.initd
+4378fc49b27dcc6ab7f2316ea2453338 rtapd.confd"