38 lines
975 B
Text
38 lines
975 B
Text
# Template build file for 'talloc'.
|
|
pkgname=talloc
|
|
version=2.1.1
|
|
revision=1
|
|
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=3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174
|
|
|
|
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}
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} install
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|