summaryrefslogtreecommitdiffstats
path: root/abs/core/nfsidmap/PKGBUILD
blob: a402e5c842a2dd69aa8000bb52f37fcea53fd695 (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
26
27
28
29
# $Id: PKGBUILD 136619 2011-08-31 07:19:40Z tpowa $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=nfsidmap
pkgver=0.24
pkgrel=3
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
arch=('i686' 'x86_64')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
depends=('glibc' 'libldap>=2.4.18')
license=('custom:nfsidmap')
options=(!libtool)
source=(http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz)
md5sums=('d71a1ee9881d5b5814ff3ec41256937d')

build() {
  cd $srcdir/lib$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

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

  # install license
  install -Dm644 COPYING $pkgdir/usr/share/licenses/nfsidmap/LICENSE
}