blob: e969b7fcf3c748db7942e4a47d016e559a400523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Contributor: Ben Pye <ben@curlybracket.co.uk>
# Maintainer: Ben Pye <ben@curlybracket.co.uk>
pkgname=libunwind
pkgver=1.2_rc1
_pkgver=${pkgver/_/-}
pkgrel=0
pkgdesc="Portable and efficient C programming interface (API) to determine the call-chain of a program"
url="http://www.nongnu.org/libunwind/"
arch="x86_64 armhf"
license="MIT"
depends=""
depends_dev="libexecinfo-dev"
makedepends="$depends_dev autoconf automake libtool linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.savannah.gnu.org/releases/libunwind/libunwind-$_pkgver.tar.gz
10-disable-tests.patch
force-enable-man.patch"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
cd "$builddir"
default_prepare || return 1
update_config_sub || return 1
}
build() {
cd "$builddir"
./autogen.sh || return 1
LDFLAGS="-lexecinfo" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="9ae4db46a273444b046ca3bd52dbdf1f libunwind-1.2-rc1.tar.gz
1d0372df3e69f0356235097137576e46 10-disable-tests.patch
59d14a816557c7abb3386696e07ba4c5 force-enable-man.patch"
sha256sums="d222f186b6bc60f49dac5030516ec35a7ed0ccca675551d6cf81008112116abc libunwind-1.2-rc1.tar.gz
03f76f7ee23b7b97e33b8d19a0f7b3cb397ab83623c9d495ee8e038907081db6 10-disable-tests.patch
ae56606aafa1b8954f8a205dc10d5e4c41f0976f0fe70209cf56582283fddd6e force-enable-man.patch"
sha512sums="810cdcf9e1e9a33eb286a6527c2d4bfc507313c596df9cdeb46b1c7b7343ac784fec3ed7c6aa135fc25dbf3e2cd8c99d1fa51e265b63614b51fd37bd84000b08 libunwind-1.2-rc1.tar.gz
b217dff3ccc3d4b6665ee5d888872ac57a8f15499f9532b1c78f9faca725fae8da975dcf9597964637ebbc270d901232b76c78c556d7ebd62cce6b32211d1401 10-disable-tests.patch
7c2b9f48b74464c8c27367bfb0ede317bfbc5fc392c0d1371a9a82ae518d3799c019f6e258ec2262c4117c6fb936c40b7cb9f2bfebddb3ea4efbbcbcc4268822 force-enable-man.patch"
|