diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-13 09:30:32 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-04-13 09:30:32 +0200 |
commit | b2b3a3e5241f31d00189615d3a86d5e0efd2ca25 (patch) | |
tree | 38cbc9ae8f219a9a921732d6132b50ba57ba7dab /extra/ldb | |
parent | a4a706ff05afab9bb61870c0049aedb23072cec1 (diff) | |
parent | 8f0418e4a239ba973834592537b474d3aac52d5b (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/fcitx-mozc/PKGBUILD
core/libcap/PKGBUILD
extra/ncmpc/PKGBUILD
extra/php/PKGBUILD
extra/sqlite/PKGBUILD
libre/hplip-libre/PKGBUILD
libre/icecat/PKGBUILD
Diffstat (limited to 'extra/ldb')
-rw-r--r-- | extra/ldb/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/ldb/PKGBUILD b/extra/ldb/PKGBUILD new file mode 100644 index 000000000..3a665cd0d --- /dev/null +++ b/extra/ldb/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 182651 2013-04-12 07:10:22Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Christian Hesse <mail@eworm.de> +# Contributor: Marco A Rojas <marquicus at gmail dot com> + +pkgname=ldb +pkgver=1.1.15 +pkgrel=1 +pkgdesc="A schema-less, ldap like, API and database" +arch=('i686' 'x86_64') +url="http://ldb.samba.org/" +source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz) +license=('GPL3') +depends=('talloc' 'tevent' 'tdb' 'popt') +makedepends=('python2') +optdepends=('python2: for python bindings') + +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 \ + --disable-rpath \ + --disable-rpath-install \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --with-modulesdir=/usr/lib/ldb/modules \ + --with-privatelibdir=/usr/lib/ldb + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir}/ install +} +md5sums=('97ee9b455f6a547fb2b3b5a7836c41d7') |