void-packages/srcpkgs/ldb/template

27 lines
788 B
Bash
Raw Normal View History

2016-06-08 07:33:09 +00:00
# Template file for 'ldb'
pkgname=ldb
version=1.1.26
revision=2
build_style=gnu-configure
configure_args="--with-modulesdir=/usr/lib/ldb/modules"
2016-06-08 07:33:09 +00:00
hostmakedepends="python pkg-config"
makedepends="tdb-devel tevent-devel popt-devel"
2016-06-08 07:33:09 +00:00
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)."
2016-06-08 07:33:09 +00:00
ldb-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2016-06-08 07:33:09 +00:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
2016-06-08 07:33:09 +00:00
}
}