2016-06-08 07:33:09 +00:00
|
|
|
# Template file for 'ldb'
|
|
|
|
pkgname=ldb
|
|
|
|
version=1.1.26
|
2016-07-24 06:29:33 +00:00
|
|
|
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"
|
2016-07-24 06:29:33 +00:00
|
|
|
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
|
|
|
|
|
2016-07-24 06:29:33 +00:00
|
|
|
nocross="see srcpkgs/tdb (cross-32bit.answers)."
|
2016-06-08 07:33:09 +00:00
|
|
|
|
|
|
|
ldb-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2016-07-24 06:29:33 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2016-06-08 07:33:09 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2016-07-24 06:29:33 +00:00
|
|
|
vmove usr/lib/*.so
|
2016-06-08 07:33:09 +00:00
|
|
|
}
|
|
|
|
}
|