void-packages/srcpkgs/ldb/template

26 lines
788 B
Bash

# Template file for 'ldb'
pkgname=ldb
version=1.1.26
revision=2
build_style=gnu-configure
configure_args="--with-modulesdir=/usr/lib/ldb/modules"
hostmakedepends="python pkg-config"
makedepends="tdb-devel tevent-devel popt-devel"
short_desc="An LDAP-like database from samba"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="GPL-3"
homepage="https://www.samba.org/ldb/"
distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz"
checksum=8843c7a72b980d9413ba6c494c039bccd10c524b37fda2917afb147745d8b2e6
nocross="see srcpkgs/tdb (cross-32bit.answers)."
ldb-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}