void-packages/srcpkgs/ldb/template

27 lines
787 B
Bash

# Template file for 'ldb'
pkgname=ldb
version=1.1.29
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="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="GPL-3"
homepage="https://www.samba.org/ldb/"
distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz"
checksum=59d84f9a5b799f519ba7b2685bb46f5a26f1bbf05b7a144b2f5e017d01d80f97
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
}
}