2016-04-12 13:21:23 +02:00
|
|
|
# Template file for 'libabigail'
|
|
|
|
pkgname=libabigail
|
2016-06-29 13:09:35 +02:00
|
|
|
version=1.0.rc5
|
2016-04-12 13:21:23 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="dpkg pkg-config python-Sphinx rpmextract"
|
|
|
|
makedepends="elfutils-devel libxml2-devel"
|
|
|
|
short_desc="ABI Generic Analysis and Instrumentation Library"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="LGPL-3"
|
|
|
|
homepage="https://www.sourceware.org/libabigail/"
|
|
|
|
distfiles="http://mirrors.kernel.org/sourceware/${pkgname}/${pkgname}-${version}.tar.gz"
|
2016-06-29 13:09:35 +02:00
|
|
|
checksum=6de5be258ec40ff281fa84970258cea73538ed64054dce9a0745d06b1c3fb381
|
2016-04-12 13:21:23 +02:00
|
|
|
|
2016-06-29 16:44:34 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) makedepends+=" musl-fts-devel" ;;
|
|
|
|
esac
|
|
|
|
|
2016-04-12 13:21:23 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|