void-packages/srcpkgs/ldb/template

27 lines
788 B
Bash
Raw Normal View History

2016-06-08 09:33:09 +02:00
# Template file for 'ldb'
pkgname=ldb
2016-12-15 12:54:13 +01:00
version=1.1.29
revision=1
build_style=gnu-configure
configure_args="--with-modulesdir=/usr/lib/ldb/modules"
2016-06-08 09:33:09 +02:00
hostmakedepends="python pkg-config"
makedepends="tdb-devel tevent-devel popt-devel"
2016-06-08 09:33:09 +02: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"
2016-12-15 12:54:13 +01:00
checksum=59d84f9a5b799f519ba7b2685bb46f5a26f1bbf05b7a144b2f5e017d01d80f97
2016-06-08 09:33:09 +02:00
nocross="see srcpkgs/tdb (cross-32bit.answers)."
2016-06-08 09:33:09 +02:00
ldb-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2016-06-08 09:33:09 +02:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
2016-06-08 09:33:09 +02:00
}
}