libunwind: cross build support.
This commit is contained in:
parent
2f32511e3e
commit
eccf691b67
1 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libunwind'.
|
||||
pkgname=libunwind
|
||||
version=1.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="liblzma-devel"
|
||||
short_desc="Portable and efficient C programming interface (API) to determine the call-chain of a program"
|
||||
|
@ -11,13 +11,21 @@ license="GPL-2"
|
|||
distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
||||
checksum=9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="libtool automake"
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
fi
|
||||
|
||||
libunwind-devel_package() {
|
||||
depends="${sourcepkg}>=${version}"
|
||||
short_desc+=" -- development files"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue