2013-04-27 05:23:55 +02:00
|
|
|
# Template file for 'libunwind'.
|
|
|
|
pkgname=libunwind
|
|
|
|
version=1.1
|
2015-05-09 11:27:32 +02:00
|
|
|
revision=5
|
2013-04-27 05:23:55 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-14 09:40:00 +02:00
|
|
|
hostmakedepends="libtool automake"
|
2013-04-27 05:23:55 +02:00
|
|
|
makedepends="liblzma-devel"
|
|
|
|
short_desc="Portable and efficient C programming interface (API) to determine the call-chain of a program"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-04-27 05:23:55 +02:00
|
|
|
homepage="http://www.nongnu.org/libunwind/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
checksum=9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
|
|
|
|
|
2013-07-14 09:40:00 +02:00
|
|
|
pre_configure() {
|
2014-08-19 21:13:17 +02:00
|
|
|
# https://lists.gnu.org/archive/html/libunwind-devel/2014-06/msg00024.html
|
|
|
|
sed -i /LIBCRTS/s/-lgcc/-lgcc_s/ configure.ac
|
2015-05-09 11:27:32 +02:00
|
|
|
sed -i /SUBDIRS/s/tests// Makefile.am
|
2013-07-14 09:40:00 +02:00
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-07-14 09:37:53 +02:00
|
|
|
|
2013-04-27 05:23:55 +02:00
|
|
|
libunwind-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-07-14 09:37:53 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-27 05:23:55 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-14 09:37:53 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-27 05:23:55 +02:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|