# Maintainer: Natanael Copa pkgname=portmap pkgver=6.0 pkgrel=4 pkgdesc="RPC connection manager" url="http://neil.brown.name/portmap/" license="GPL" depends= makedepends="" install="$pkgname.pre-install" subpackages="$pkgname-doc" source="http://neil.brown.name/$pkgname/$pkgname-$pkgver.tgz $pkgname-6.0-tcpd.patch $pkgname.confd $pkgname.initd" build () { cd "$srcdir"/portmap_$pkgver for i in ../*.patch; do msg "Applying $i" patch -p1 < $i || return 1 done make NO_TCP_WRAPPER=NO || return 1 mkdir -p "$pkgdir"/sbin mkdir -p "$pkgdir"/usr/share/man/man8 make BASEDIR="$pkgdir" install mkdir -p "$pkgdir"/etc/init.d "$pkgdir"/etc/conf.d install -m 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname install -m 644 "$startdir"/$pkgname.confd $pkgdir/etc/conf.d/$pkgname } md5sums="ac108ab68bf0f34477f8317791aaf1ff portmap-6.0.tgz bdcd217a0d459c75116d0b5aa90a372b portmap-6.0-tcpd.patch 56b0f47cda2003f3394ef7c37ec4cdff portmap.confd b03305a6fc0bfb621e76e75a300acc4e portmap.initd"