53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
# Template file for 'libabigail'
|
|
pkgname=libabigail
|
|
version=2.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-cxx11=yes"
|
|
hostmakedepends="automake cpio dpkg libtool pkg-config python3-Sphinx texinfo"
|
|
makedepends="elfutils-devel libxml2-devel"
|
|
short_desc="ABI Generic Analysis and Instrumentation Library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://www.sourceware.org/libabigail/"
|
|
distfiles="http://mirrors.kernel.org/sourceware/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=764d3d811550fadcca1e86e48a09564d0037a5210f54b24780becfa59095116b
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+=" musl-fts-devel"
|
|
export FTS_CFLAGS=" " FTS_LIBS="-lfts"
|
|
;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
autoreconf -fi
|
|
}
|
|
post_build() {
|
|
make -C doc/manuals man info
|
|
}
|
|
post_install() {
|
|
make -C doc/manuals install-man-and-info-doc DESTDIR="$DESTDIR"
|
|
}
|
|
libabigail-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|
|
libabigail-tools_package() {
|
|
short_desc+=" - tools"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man
|
|
vmove usr/share/info
|
|
}
|
|
}
|