2013-02-26 22:22:19 +00:00
|
|
|
# Maintainer: Christian Hesse <mail@eworm.de>
|
|
|
|
# Contributor: Marco A Rojas <marquicus at gmail dot com>
|
|
|
|
|
|
|
|
pkgname=ldb
|
|
|
|
pkgver=1.1.15
|
2013-03-17 21:07:51 +00:00
|
|
|
pkgrel=2
|
2013-02-26 22:22:19 +00:00
|
|
|
pkgdesc="LDAP-like embedded database, not at all LDAP standards compliant"
|
2013-03-17 21:07:51 +00:00
|
|
|
arch=('i686' 'x86_64')
|
2013-02-26 22:22:19 +00:00
|
|
|
url="http://ldb.samba.org/"
|
|
|
|
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
|
|
license=('GPLv3')
|
2013-02-27 02:16:19 +00:00
|
|
|
depends=('talloc' 'tevent' 'tdb')
|
2013-02-26 22:22:19 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
# change to use python2
|
|
|
|
sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" buildtools/bin/waf
|
|
|
|
export PYTHON=/usr/bin/python2
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2013-03-17 21:07:51 +00:00
|
|
|
--disable-rpath \
|
|
|
|
--disable-rpath-install \
|
|
|
|
--bundled-libraries=NONE \
|
|
|
|
--builtin-libraries=NONE
|
|
|
|
make
|
2013-02-26 22:22:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir}/ install
|
|
|
|
}
|
|
|
|
|
|
|
|
sha256sums=('6bd8317e82747461394ab8ad1ee5873589d9a46d12f021571aca9fac45de8997')
|