updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libhome / PKGBUILD
blob355764e87649afb618cd9f8c7139b9a55325ad7d
1 # Maintainer: Dan Vratil <vratil@progdansoft.com>
3 pkgname=libhome
4 pkgver=0.10.2
5 pkgrel=1
6 pkgdesc="libhome is a configurable getpwnam(3) emulator"
7 makedepends=(pam mysql openldap)
8 license=('uknown')
9 arch=('i686' 'x86_64')
10 url="http://pll.sf.net"
11 source=(http://downloads.sourceforge.net/project/pll/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
13 build() {
15   cd ${srcdir}/${pkgname}-${pkgver}
16   ./configure --prefix=/usr \
17               --with-ldap \
18               --with-mysql \
19               --with-pam || return 1
20   make || return 1
23 package() {
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/ \
34        install || return 1
36   install home.conf ${pkgdir}/etc/home.conf
38 md5sums=('f7129ae34d3c44d38ac785e7a1f7d509')