void-packages/srcpkgs/libunwind/template

36 lines
859 B
Plaintext
Raw Normal View History

2013-04-27 05:23:55 +02:00
# Template file for 'libunwind'.
pkgname=libunwind
version=1.1
2013-07-14 09:37:53 +02:00
revision=2
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"
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 09:40:00 +02:00
pre_configure() {
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
}
}
libunwind_package() {
pkg_install() {
vmove usr
}
}