mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
28 lines
1 KiB
Bash
28 lines
1 KiB
Bash
|
# $Id: PKGBUILD 42572 2009-06-15 20:10:02Z tpowa $
|
||
|
# Maintainer: judd <jvinet@zeroflux.org>
|
||
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||
|
pkgname=ypbind-mt
|
||
|
pkgver=1.23.1
|
||
|
pkgrel=2
|
||
|
pkgdesc="A multi-threaded implementation of a NIS binding daemon"
|
||
|
arch=(i686 x86_64)
|
||
|
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
|
||
|
}
|