void-packages/srcpkgs/talloc/template
maxice8 6d0e4ac8bb talloc: update to 2.1.13.
Closes: #13266 [via git-merge-pr]
2018-05-02 21:43:45 -07:00

31 lines
926 B
Bash

# Template build file for 'talloc'.
pkgname=talloc
version=2.1.13
revision=1
build_style=configure
hostmakedepends="pkg-config python libxslt docbook-xsl"
short_desc="Hierarchical pool based memory allocator with destructors"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://talloc.samba.org/"
license="GPL-3.0-or-later"
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.gz"
checksum=84f399dbf0ad97006a2b4953ea99452d033faac15aabfddd4ba61734764c6047
do_configure() {
if [ "$CROSS_BUILD" ]; then
cp ${FILESDIR}/cross-32bit.answers .
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
fi
./configure --prefix=/usr --disable-python ${_args}
}
talloc-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libtalloc.so
vmove usr/share/man/man3
}
}