35 lines
929 B
Bash
35 lines
929 B
Bash
# Template file for 'libunwind'
|
|
pkgname=libunwind
|
|
version=1.3.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="libtool automake"
|
|
makedepends="liblzma-devel"
|
|
short_desc="Library to determine the call-chain of a program"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://www.nongnu.org/libunwind/"
|
|
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz"
|
|
checksum=43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8
|
|
|
|
pre_configure() {
|
|
sed -i /SUBDIRS/s/tests// Makefile.am
|
|
# libunwind explicitly sets lib64 for ppc64 by default
|
|
sed -i /libdir/s/lib64/lib/ configure.ac
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libunwind-devel_package() {
|
|
depends="${sourcepkg}>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|