ldb: multiple fixes to unbreak musl and the -devel subpkg.

This commit is contained in:
Juan RP 2016-07-24 08:29:33 +02:00
parent 8f0489b1a4
commit 2d175c6487
1 changed files with 7 additions and 10 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'ldb'
pkgname=ldb
version=1.1.26
revision=1
build_style=waf
configure_script=buildtools/bin/waf
revision=2
build_style=gnu-configure
configure_args="--with-modulesdir=/usr/lib/ldb/modules"
hostmakedepends="python pkg-config"
makedepends="talloc-devel tevent-devel tdb-devel popt-devel"
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"
@ -13,17 +13,14 @@ homepage="https://www.samba.org/ldb/"
distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz"
checksum=8843c7a72b980d9413ba6c494c039bccd10c524b37fda2917afb147745d8b2e6
case "$XBPS_TARGET_MACHINE" in
armv[67]l) broken="https://s3.amazonaws.com/archive.travis-ci.org/jobs/136285322/log.txt";;
*-musl) broken="https://api.travis-ci.org/jobs/136285324/log.txt?deansi=true";;
esac
nocross="see srcpkgs/tdb (cross-32bit.answers)."
ldb-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}