diff options
Diffstat (limited to 'testing/rtnppd/APKBUILD')
-rw-r--r-- | testing/rtnppd/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/rtnppd/APKBUILD b/testing/rtnppd/APKBUILD new file mode 100644 index 0000000000..f608ec7fcf --- /dev/null +++ b/testing/rtnppd/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=rtnppd +_builddir="$pkgname" +pkgver=1.7b +pkgrel=0 +pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links" +url="http://sourceforge.net/projects/rtnppd/" +license="GPL" +depends="" +makedepends="postgresql-dev" +install= +subpackages="" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + Makefile.patch + $pkgname.initd + $pkgname.confd" + +build() { + cd "$srcdir"/"$_builddir" + patch -p1 < ../Makefile.patch || return 1 + make || return 1 +} +package() { + cd "$srcdir"/"$_builddir" + #make DESTDIR="$pkgdir" install + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + install -m755 -D ./rtnppd "$pkgdir"/usr/sbin/rtnppd + install -m755 -D ./tnpppage "$pkgdir"/usr/sbin/tnpppage + install -m755 -D ./testq "$pkgdir"/usr/sbin/testq + install -m644 -D ./rtnppd.conf "$pkgdir"/etc/rtnppd/rtnppd.conf + install -m644 -D ./tnpp_dev.conf "$pkgdir"/etc/rtnppd/tnpp_dev.conf + install -m644 -D ./tnpp_trans.conf "$pkgdir"/etc/rtnppd/tnpp_trans.conf +} + +md5sums="3f484a7307b1c237652135fcc26ee798 rtnppd-1.7b.tar.gz +17ec69098e967021face024251da20fc Makefile.patch +9bb8ca4d1f073d0b3663d368ff322ecf rtnppd.initd +58b8113f483bd824e9ef82fbfdf743d8 rtnppd.confd" |