blob: 5629baca947506a5cbe728077ebe7a31824039d2 (
plain) (
blame)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=elfutils
pkgver=0.179
pkgrel=0
pkgdesc="A collection of utilities and DSOs to handle ELF files and DWARF data"
url="https://sourceware.org/elfutils/"
arch="all"
license="GPL-3.0+ AND (GPL-2.0+ or LGPL-3.0+) AND LGPL-2.1+"
depends=""
makedepends="argp-standalone autoconf automake bsd-compat-headers
bzip2-dev flex fts-dev musl-obstack-dev xz-dev zlib-dev"
checkdepends="musl-dbg"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="https://sourceware.org/elfutils/ftp/$pkgver/$pkgname-$pkgver.tar.bz2
fix-aarch64_fregs.patch
fix-uninitialized.patch
getconf-long-bit.patch
gnu-power-abi-fp.patch
musl-asm-ptrace-h.patch
musl-cdefs.patch
musl-fts-obstack.patch
musl-macros.patch
musl-qsort_r.patch
musl-strerror_r.patch
musl-strndupa.patch
test-disable-backtrace.patch
error.h
"
prepare() {
default_prepare
autoreconf -vif
cp "$srcdir"/error.h lib
cp "$srcdir"/error.h src
}
build() {
export CFLAGS="$CFLAGS -Wno-error"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-deterministic-archives \
--disable-debuginfod \
--disable-symbol-versioning \
--with-biarch=no
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
tools() {
pkgdesc="$pkgdesc (command-line tools)"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/eu-* "$subpkgdir"/usr/bin
}
sha512sums="ff2d96ad1db08e3a2ddaa60bd5a05e9b61ffa71d646f889cebb6bef51322e874930809c6dd0a257ced8c6e8de4b59ecf13ca6741dc68f9400293208278a0c052 elfutils-0.179.tar.bz2
c3676b0b8b40d6e437f5d88c0d658dc0829ec97d1955e4bbf96f4cff9ee9001b8f2f06174450ae7aa5858b91c7905bdbd49073b561c346416132338a9c94731b fix-aarch64_fregs.patch
3a0996f33e485f4ed5fbb447e40be9ce078d2ad8a9d2e3bd4bc8295cbedbcd9f1799fafcbe36c060630e902054346b608770ce3d64a3d05af0128864f37f8353 fix-uninitialized.patch
85ff9ca71220878fb947012e300e381d4309ee46aad7056ed0f6269d21a259f64f61a35f059586ec7ee13399aaaaab5004616263cf6f030d7c28bb60fff2adf6 getconf-long-bit.patch
9426b9641c5f72d572f62aa0152b13c20fb71100815332bea5bdb24c3a63a9e98613e0de40da2699a1a3c0298a239adab1ab4ab9d5c83816668912f13a32605e gnu-power-abi-fp.patch
7c529f88dc248f657a8d690044560c20a222c5b37d0d7dcb057bf2eea8938c406cccd6129bce19542088511a026b233234c9a83933a525c4691810be9ca712bf musl-asm-ptrace-h.patch
f061fa2a62593a77fdb70d69ac81624a718381e748483855cbcd50be9e9a6f21ae3feea8a567108044c4afe808cd6948e82a69ccd9f8739d8d2aaa469d2973cb musl-cdefs.patch
9b21ba63246b0bcc733c9fc1f88fca28d8c91753cd1703a0727777c044bec4001ff36ae90c74f57727e189e88350772934c9223b948e6524f9cf619dbc5abec1 musl-fts-obstack.patch
32b9ee6140ba0138a957422f452098caa5ebca850aa4705ffaf0bc2e91c9dd408a9d586007a1d186ec36ed12c9fcd6967f56e35a0587306781f6f7491a8c3ed9 musl-macros.patch
86550bc04a26e3cece6b08f0fce7db8667946cfbd5eed31cdd956856b6d6bd0c3dd2cc81283b482efd1ec62d3356aacce61210811e2002915e05fa9b80d983ab musl-qsort_r.patch
a0d986100c8ff2ef0595645ec1b2eeb1d517b7442aef5f349ebf27fcb66c76e51fadeda25bed5f04b4bb16a61aa23ac6e86a1f34a0087d2136acf0f64c3fa4d1 musl-strerror_r.patch
83ad42f672e1d5ca479bc44166c423624ab14d70f74bd6f703ef5fd98694ae201db975026ae8bd507d87b038e3403d878c90da40cfcf6d2364bbd3cad8cedb5b musl-strndupa.patch
07f160808515b922b50cae5f8a2f3268ef371247a7d786a6232ebe95d3a82f97452d77d199ea036a8ee6ffbd3cd130acbbfdbf0473de96f8b11aa37627d688e1 test-disable-backtrace.patch
b33d7f210b9652b7b919afb32b4674ca125b660bf5f81fafb4e4e8405ea16be74ce85f653e6c0ac83e5fff1b192e82e273c5b5baa3802fdc7602edfa1086936d error.h"
|