34 lines
851 B
Bash
34 lines
851 B
Bash
# Template file for 'libunwind'.
|
|
pkgname=libunwind
|
|
version=1.2
|
|
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=1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992
|
|
|
|
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
|
|
}
|
|
}
|