33 lines
853 B
Bash
33 lines
853 B
Bash
# Template file for 'libunwind'.
|
|
pkgname=libunwind
|
|
version=1.2.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.eu>"
|
|
homepage="http://www.nongnu.org/libunwind/"
|
|
license="MIT"
|
|
distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-${version/rc/-rc}.tar.gz"
|
|
checksum=3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
|
|
|
|
pre_configure() {
|
|
sed -i /SUBDIRS/s/tests// Makefile.am
|
|
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
|
|
}
|
|
}
|