blob: 83859b2025e17003922db9f17618045e54abdb93 (
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
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=rtnppd
pkgver=1.7b
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
rtnppd.initd
rtnppd.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 rtnppd.conf "$pkgdir"/etc/$pkgname/rtnppd.conf
install -m644 -D tnpp_trans.conf "$pkgdir"/etc/$pkgname/tnpp_trans.conf
install -m644 -D tnpp_dev.conf "$pkgdir"/etc/$pkgname/tnpp_dev.conf
install -m644 -D ../rtnppd.confd "$pkgdir"/etc/conf.d/rtnppd
install -m755 -D ../rtnppd.initd "$pkgdir"/etc/init.d/rtnppd
mkdir -p "$pkgdir"/var/spool/rtnppd
#install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg
}
md5sums="3f484a7307b1c237652135fcc26ee798 rtnppd-1.7b.tar.gz
9bb8ca4d1f073d0b3663d368ff322ecf rtnppd.initd
58b8113f483bd824e9ef82fbfdf743d8 rtnppd.confd"
|