2013-04-27 03:23:55 +00:00
|
|
|
# Template file for 'libunwind'.
|
|
|
|
pkgname=libunwind
|
|
|
|
version=1.1
|
2014-08-19 19:13:17 +00:00
|
|
|
revision=4
|
2013-04-27 03:23:55 +00:00
|
|
|
build_style=gnu-configure
|
2013-07-14 07:40:00 +00:00
|
|
|
hostmakedepends="libtool automake"
|
2013-04-27 03:23:55 +00:00
|
|
|
makedepends="liblzma-devel"
|
|
|
|
short_desc="Portable and efficient C programming interface (API) to determine the call-chain of a program"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
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 07:40:00 +00:00
|
|
|
pre_configure() {
|
2014-08-19 19:13:17 +00:00
|
|
|
# https://lists.gnu.org/archive/html/libunwind-devel/2014-06/msg00024.html
|
|
|
|
sed -i /LIBCRTS/s/-lgcc/-lgcc_s/ configure.ac
|
|
|
|
|
2013-07-14 07:40:00 +00:00
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-07-14 07:37:53 +00:00
|
|
|
|
2013-04-27 03:23:55 +00:00
|
|
|
libunwind-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-07-14 07:37:53 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-27 03:23:55 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-14 07:37:53 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-27 03:23:55 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|