1 # Maintainer: Sergio A. Morales <sergiomorales@archlinux.cl>
5 pkgdesc="389 LDAP Directory Server Base"
7 url="http://directory.fedoraproject.org/"
9 depends=('icu' 'mozldap' 'net-snmp' 'db4.8' 'perl-mozldap')
10 source=("http://directory.fedoraproject.org/sources/$pkgname-$pkgver.tar.bz2")
11 md5sums=("85ca908b219b6b7689bcf411b800e2e2")
14 cd $startdir/src/$pkgname-$pkgver
15 [ "${CARCH}" == "x86_64" ] && export USE_64=1
16 ./configure --enable-autobind --prefix=/usr --sysconfdir=/etc --with-db-inc=/usr/include/db4.8
18 make install DESTDIR=$pkgdir || return 1
19 mv $pkgdir/etc/rc.d/init.d/dirsrv $pkgdir/etc/rc.d/dirsrv
20 rm -rf $pkgdir/etc/rc.d/init.d
21 chmod 775 $pkgdir/usr/lib/dirsrv
22 chmod 775 $pkgdir/etc/dirsrv