aboutsummaryrefslogtreecommitdiffstats
path: root/main/oidentd/APKBUILD
blob: 130283f72ac5379c68eece97de33c2e4fc60fbbd (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
pkgname=oidentd
pkgver=2.0.8
pkgrel=0
pkgdesc="Configurable IDENT server that supports NAT/IP masq."
url="http://dev.ojnk.net/"
license="GPL"
depends="uclibc"
makedepends=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/ojnk/$pkgname-$pkgver.tar.gz
oidentd.conf
oidentd.initd
oidentd.confd"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make DESTDIR="$pkgdir" install
	install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
	install -D -m644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf

}

md5sums="c3d9a56255819ef8904b867284386911  oidentd-2.0.8.tar.gz
d9c40e4d6a0bde685a359ad49b4eada2  oidentd.conf
89a027c3b8245f6c5e79930d16d485f7  oidentd.initd
05a43d3987754f179f4e31bbe61ff315  oidentd.confd"