42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
# Contributor: Christian Hesse <mail@eworm.de>
|
|
# Contributor: Marco A Rojas <marquicus at gmail dot com>
|
|
|
|
pkgname=ldb
|
|
pkgver=2.9.1
|
|
pkgrel=5
|
|
epoch=2
|
|
pkgdesc='Schema-less, ldap like, API and database'
|
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
|
url="https://ldb.samba.org/"
|
|
source=(https://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar{.gz,.asc})
|
|
license=('GPL-3.0-or-later')
|
|
depends=('talloc' 'libtevent.so' 'tdb' 'libtdb.so' 'popt' 'lmdb')
|
|
makedepends=('python' 'cmocka' 'docbook-xsl' 'tevent')
|
|
optdepends=('python: for python bindings')
|
|
provides=(libldb.so)
|
|
validpgpkeys=('9147A339719518EE9011BCB54793916113084025') # Samba Library Distribution Key <samba-bugs@samba.org>
|
|
sha512sums=('a7384d5b88b1b2edc1ac40f38f74b8b2eb403610d158c579a862007801586a4ad1ba11019737ecad8a83e8f2d1ae7ae16ec7e92c58f60feb2d6fed84c4212265'
|
|
'SKIP')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./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 ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|