# Maintainer: judd # Contributor: Tom Newsom pkgname=ypbind-mt pkgver=1.23.1 pkgrel=2 pkgdesc="A multi-threaded implementation of a NIS binding daemon" arch=('arm') url="http://www.linux-nis.org" license=('GPL2') depends=('rpcbind' 'openslp') backup=('etc/yp.conf' 'etc/conf.d/ypbind') source=(ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.bz2 ypbind ypbind.conf) md5sums=('6a4123675b1d18d9a40eb3c00798533c' 'e43835ecebaa5966c6f00ed7f7a7ac78' '229309a989abad27703ac2e6d07dc7ae') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --disable-dbus-nm || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 install -D -m644 etc/yp.conf $pkgdir/etc/yp.conf || return 1 install -D -m755 ../ypbind $pkgdir/etc/rc.d/ypbind || return 1 install -D -m644 ../ypbind.conf $pkgdir/etc/conf.d/ypbind || return 1 install -d -m755 $pkgdir/var/yp/binding || return 1 }