blob: 58f5fdf702bfeab7ce9b885b5a6d8e6da1f175f4 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=rtnppd
_builddir="$pkgname"
pkgver=1.7b
pkgrel=5
pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links"
url="http://sourceforge.net/projects/rtnppd/"
arch="all"
license="GPL"
depends=""
makedepends="postgresql-dev"
install="$pkgname.pre-install"
subpackages=""
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
Makefile.patch
$pkgname.initd
$pkgname.confd"
pkgusers="rtnppd"
pkggroups="rtnppd"
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"
sha256sums="06651a98c99048d9a211a92a68d8e5ed03ffdf2caf04904923a8ae7418a5eca4 rtnppd-1.7b.tar.gz
8ec9858b2fdf3ddfd3ef07c5afad3e6a5475986392dad3a0fc4473dcaec0000d Makefile.patch
9d2d221129bcc7a6f2f966d479802a9f642da0ef2dd2d001b3c0e830529f2ead rtnppd.initd
55abc4f75348431fbaaf4d9ca39b45609c3902cb2ffa3dcaf6e9371c9f5d38ad rtnppd.confd"
sha512sums="b8b80bca5d78ee070a1c403e544c2de4b65de74bef5f400f43125bdb289e43d4fc8dadb0d089a59f4bc8b41c6fc75ed6d307412cde90022ea75a6617128a4432 rtnppd-1.7b.tar.gz
7dda1dcf65151fa8287c48b548bef73f28a740524c3d2a57e81a8fac92ba44200fe7088866fceed675355924dee52aaf68615717ef12b6bf3f1b3b68f7eacb11 Makefile.patch
106c47cd82e1f46244bfeb118aa6580e058d7ec1666a3fa35f3273ecef16bbce8f2adc1332e0216f840deb980d411c0659f282061c59ca3f4e497510f43346d8 rtnppd.initd
3a8d709c4650eb38fd9c4ec5367d69eadab458fd5a6515517405f9344f19211d8673ec5dca00d56c87b765e916e0720b49c8f3cd6b54761b52af6c31dc7b6139 rtnppd.confd"
|