# Contributor: Max Rees # Maintainer: Max Rees pkgname=libabigail pkgver=1.7 pkgrel=0 pkgdesc="The ABI Generic Analysis and Instrumentation Library" url="https://sourceware.org/libabigail/" arch="all" license="LGPL-3.0+" depends="" depends_dev="" makedepends="$depends_dev autoconf automake elfutils-dev fts-dev libtool libxml2-dev python3" subpackages="$pkgname-dev" source="http://mirrors.kernel.org/sourceware/libabigail/$pkgname-$pkgver.tar.gz apk.patch musl-basename.patch musl-fts.patch redhat-bs.patch" prepare() { default_prepare autoreconf -vif } build() { export LDFLAGS="$LDFLAGS -Wl,-z,stack-size=1048576" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-fedabipkgdiff=no make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="02971c8f760cd7c6e7f77ef323c93769270666652a8f491b30cce74aa9bc20e2c5113eca0a534b814e9c8567538b6b7b84d15687e0ac15cf8ece736b2f7e2261 libabigail-1.7.tar.gz 8d6ba251d81dd687a71da82c17d33f38bd0eee78daa7c0f9a6a2bb5751b247734d7b4648a101f862ffa7c244ad207007d9402c4f22df132890ca02cc5ce6b090 apk.patch 9d1a4eb781491400a06789a15f91c778e5c003d9db00713c4ccae1b23a46ed43dfb89c760026a052ceae4da93145bca2d15a76f3d5b726dc75535e55617cdbee musl-basename.patch ef5c7db0ce05dff36c654e4a6345ded43032b76bdc9159da60a5fdc59b3c70943881cb19c87a4c6b30eccb774c6c7767e790b395564058f5dbaa6e3f3e0b1373 musl-fts.patch 0f5dcee3fbb1ee949df22e13a8ad248a8e39a086cb4c3561f5f45235c2f27cc589a07886560e2ecf7ee040811f64892c0e74ed653e0a1a5d20e62ab360c388a4 redhat-bs.patch"