1 # Maintainer: Dan Vratil <vratil@progdansoft.com>
6 pkgdesc="libhome is a configurable getpwnam(3) emulator"
7 makedepends=(pam mysql openldap)
10 url="http://pll.sf.net"
11 source=(http://downloads.sourceforge.net/project/pll/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
15 cd ${srcdir}/${pkgname}-${pkgver}
16 ./configure --prefix=/usr \
19 --with-pam || return 1
25 mkdir -p ${pkgdir}/usr/{lib,bin,share/man/man{5,8},include}
26 mkdir -p ${pkgdir}/{sbin,etc}
28 cd ${srcdir}/${pkgname}-${pkgver}
29 make libdir=${pkgdir}/usr/lib \
30 bindir=${pkgdir}/usr/bin \
31 sbindir=${pkgdir}/sbin \
32 includedir=${pkgdir}/usr/include \
33 mandir=${pkgdir}/usr/share/man/ \
36 install home.conf ${pkgdir}/etc/home.conf
38 md5sums=('f7129ae34d3c44d38ac785e7a1f7d509')