void-packages/srcpkgs/talloc/template

41 lines
1.1 KiB
Text
Raw Normal View History

2010-10-22 01:58:24 +00:00
# Template build file for 'talloc'.
pkgname=talloc
2012-12-04 17:17:51 +00:00
version=2.0.8
2013-05-15 06:18:14 +00:00
revision=3
hostmakedepends="pkg-config python libxslt docbook-xsl"
2010-10-22 01:58:24 +00:00
short_desc="Hierarchical pool based memory allocator with destructors"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-12-04 17:17:51 +00:00
homepage="http://talloc.samba.org/"
license="GPL-3"
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.gz"
checksum=1ec11e635e0318dbbb014db38ff96e8dba3ce5f614eeb7d993b4a5b71c016783
2010-10-22 01:58:24 +00:00
long_desc="
This package provides the talloc library: an hierarchical pool based memory
allocator with destructors."
2013-05-15 06:18:14 +00:00
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 --enable-talloc-compat1 ${_args}
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}
talloc-devel_package() {
depends="${sourcepkg}>=${version}"
2013-05-15 06:18:14 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}