# Template build file for 'talloc'.
pkgname=talloc
version=2.0.8
revision=2
build_style=gnu-configure
configure_args="--enable-talloc-compat1"
hostmakedepends="pkg-config python libxslt docbook-xsl"
short_desc="Hierarchical pool based memory allocator with destructors"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://talloc.samba.org/"
license="GPL-3"
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.gz"
checksum=1ec11e635e0318dbbb014db38ff96e8dba3ce5f614eeb7d993b4a5b71c016783
long_desc="
 This package provides the talloc library: an hierarchical pool based memory
 allocator with destructors."

talloc-devel_package() {
	depends="${sourcepkg}>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
	}
}

talloc_package() {
	pkg_install() {
		vmove usr
	}
}