aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtnppd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-25 09:01:28 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-25 09:01:28 +0000
commit50a655da510e34586c514405d06e98bde306b5fd (patch)
tree5b26b537c471dd4ab012bed2f8fe39179813f521 /main/rtnppd
parent6719c04226e45f8dbbcdfda9b9a4d9d3dd361d1f (diff)
downloadaports-50a655da510e34586c514405d06e98bde306b5fd.tar.bz2
aports-50a655da510e34586c514405d06e98bde306b5fd.tar.xz
main/rtnppd: fixed builddir, remove patchfile no longer needed
Diffstat (limited to 'main/rtnppd')
-rw-r--r--main/rtnppd/APKBUILD11
1 files changed, 3 insertions, 8 deletions
diff --git a/main/rtnppd/APKBUILD b/main/rtnppd/APKBUILD
index f7f8b46ab8..54563c72de 100644
--- a/main/rtnppd/APKBUILD
+++ b/main/rtnppd/APKBUILD
@@ -1,7 +1,6 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=rtnppd
-_builddir="$pkgname"
pkgver=1.7b
pkgrel=8
pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links"
@@ -13,19 +12,18 @@ makedepends="postgresql-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dbg"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- Makefile.patch
$pkgname.initd
$pkgname.confd"
pkgusers="rtnppd"
pkggroups="rtnppd"
+builddir=$srcdir/"$pkgname"
build() {
- cd "$srcdir"/"$_builddir"
- patch -p1 < ../Makefile.patch || return 1
+ cd "$builddir"
make || return 1
}
package() {
- cd "$srcdir"/"$_builddir"
+ cd "$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
@@ -38,14 +36,11 @@ package() {
}
md5sums="3f484a7307b1c237652135fcc26ee798 rtnppd-1.7b.tar.gz
-17ec69098e967021face024251da20fc Makefile.patch
66c7ba74ccf5e5ee63edbc956c413b75 rtnppd.initd
58b8113f483bd824e9ef82fbfdf743d8 rtnppd.confd"
sha256sums="06651a98c99048d9a211a92a68d8e5ed03ffdf2caf04904923a8ae7418a5eca4 rtnppd-1.7b.tar.gz
-8ec9858b2fdf3ddfd3ef07c5afad3e6a5475986392dad3a0fc4473dcaec0000d Makefile.patch
5d9328f8b0fb3e8f6c54f714a2f726fd0440cd32a4bb595eeb3e0f5e277b28b6 rtnppd.initd
55abc4f75348431fbaaf4d9ca39b45609c3902cb2ffa3dcaf6e9371c9f5d38ad rtnppd.confd"
sha512sums="b8b80bca5d78ee070a1c403e544c2de4b65de74bef5f400f43125bdb289e43d4fc8dadb0d089a59f4bc8b41c6fc75ed6d307412cde90022ea75a6617128a4432 rtnppd-1.7b.tar.gz
-7dda1dcf65151fa8287c48b548bef73f28a740524c3d2a57e81a8fac92ba44200fe7088866fceed675355924dee52aaf68615717ef12b6bf3f1b3b68f7eacb11 Makefile.patch
7d01cbe3a25d1dd8f19e04510c3938f478c9f0d5f75f9adcd9921366562fb0820bdfcc47f6462c5fa3a711966ef2e0fb93b9bc93cbed88ae8f866f83608b6432 rtnppd.initd
3a8d709c4650eb38fd9c4ec5367d69eadab458fd5a6515517405f9344f19211d8673ec5dca00d56c87b765e916e0720b49c8f3cd6b54761b52af6c31dc7b6139 rtnppd.confd"