2010-10-22 03:58:24 +02:00
|
|
|
# Template build file for 'talloc'.
|
|
|
|
pkgname=talloc
|
2014-09-10 17:28:55 +02:00
|
|
|
version=2.1.1
|
|
|
|
revision=1
|
2013-04-12 19:13:19 +02:00
|
|
|
hostmakedepends="pkg-config python libxslt docbook-xsl"
|
2010-10-22 03:58:24 +02:00
|
|
|
short_desc="Hierarchical pool based memory allocator with destructors"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-12-04 18:17:51 +01:00
|
|
|
homepage="http://talloc.samba.org/"
|
|
|
|
license="GPL-3"
|
|
|
|
distfiles="http://samba.org/ftp/$pkgname/$pkgname-$version.tar.gz"
|
2014-09-10 17:28:55 +02:00
|
|
|
checksum=3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174
|
2013-04-12 19:13:19 +02:00
|
|
|
|
2013-05-15 08:18:14 +02:00
|
|
|
do_configure() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
cp ${FILESDIR}/cross-32bit.answers .
|
|
|
|
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
|
|
|
|
fi
|
2014-09-10 17:28:55 +02:00
|
|
|
./configure --prefix=/usr --disable-python ${_args}
|
2013-05-15 08:18:14 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
2013-04-12 19:13:19 +02:00
|
|
|
talloc-devel_package() {
|
2014-02-16 18:49:22 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-05-15 08:18:14 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-03-09 11:37:41 +01:00
|
|
|
vmove usr/lib/libtalloc.so
|
2013-04-12 19:13:19 +02:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|