PKGBUILDs/extra/ypbind-mt/PKGBUILD

30 lines
988 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: judd <jvinet@zeroflux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
2009-10-11 04:11:32 +00:00
2009-10-10 02:23:22 +00:00
pkgname=ypbind-mt
pkgver=1.23.1
pkgrel=2
pkgdesc="A multi-threaded implementation of a NIS binding daemon"
2009-10-11 04:11:32 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
url="http://www.linux-nis.org"
license=('GPL2')
depends=('rpcbind' 'openslp')
backup=('etc/yp.conf' 'etc/conf.d/ypbind')
2009-10-11 04:11:32 +00:00
source=(ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.bz2
ypbind
ypbind.conf)
md5sums=('6a4123675b1d18d9a40eb3c00798533c'
'e43835ecebaa5966c6f00ed7f7a7ac78'
2009-10-10 02:23:22 +00:00
'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
}