40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'libabigail'
|
|
pkgname=libabigail
|
|
version=1.0.rc4
|
|
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"
|
|
checksum=ccd495e10b251ed9c4668d3c1c9e6127c4c8ee6eae3a5ebee9586bdac6f13643
|
|
|
|
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
|
|
}
|
|
}
|