mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-24 19:02:27 +01:00
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
maintainer="Krassy Boykinov <kboykinov@teamcentrixx.com>"
|
|
pkgname=talloc
|
|
pkgver=2.4.3
|
|
pkgrel=0
|
|
pkgdesc="Memory pool management library"
|
|
url="https://talloc.samba.org"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
replaces="samba-common"
|
|
makedepends="docbook-xsl libxslt python3-dev"
|
|
subpackages="$pkgname-static $pkgname-dev py3-$pkgname:_py3 $pkgname-doc"
|
|
source="https://samba.org/ftp/talloc/talloc-$pkgver.tar.gz
|
|
always-libs.patch
|
|
"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--bundled-libraries=NONE \
|
|
--builtin-libraries=replace \
|
|
--disable-rpath \
|
|
--disable-rpath-install \
|
|
--without-gettext
|
|
make
|
|
|
|
# talloc's Waf setup doesn't build static libraries, so we do it manually
|
|
ar qf libtalloc.a bin/default/talloc.c*.o
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 libtalloc.a "$pkgdir"/usr/lib/libtalloc.a
|
|
}
|
|
|
|
_py3() {
|
|
pkgdesc="Python 3 binding for libtalloc"
|
|
|
|
amove usr/lib/libpy* usr/lib/python3*
|
|
}
|
|
|
|
sha512sums="
|
|
7174a069dd3d4ebf8c04fee3434fd50269015bb8f039839e7e7723f431d089b66fb0167e8893bff2d1c392de1ac33665e5b278168246da30d528d522b0e1d5bd talloc-2.4.3.tar.gz
|
|
66d06f735fe591f3a888ced25c4c5a0068402001736ce52443d0670d42bf7144c7f69ff9c6299ecf4d9001f23c68403953c4bdc7325f4d094d304e4215ff90b1 always-libs.patch
|
|
"
|