summaryrefslogtreecommitdiff
path: root/extra/yp-tools/PKGBUILD
blob: 6fd32616a2750e0015bb6b974174eb3e8bcf8e90 (plain)
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
# $Id: PKGBUILD 91704 2010-09-27 17:42:28Z bisson $
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=yp-tools
pkgver=2.12
pkgrel=1
pkgdesc='Linux NIS Tools'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/yp-tools/'
license=('GPL2')
depends=('ypbind-mt' 'glibc')
source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz")
sha1sums=('10b0ef5d4c5723e0716d7a1431a900c0ba6ef703')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr --disable-domainname
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}