]>
Commit | Line | Data |
---|---|---|
15a8a13f | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
15a8a13f MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = elfutils |
7 | version = 0.152 | |
8 | release = 2 | |
15a8a13f | 9 | |
802ea3af MT |
10 | maintainer = Michael Tremer <michael.tremer@ipfire.org> |
11 | groups = Development/Libraries | |
12 | url = https://fedorahosted.org/elfutils/ | |
13 | license = GPLv2 with exceptions | |
14 | summary = A collection of utilities and DSOs to handle compiled objects. | |
15a8a13f | 15 | |
802ea3af MT |
16 | description |
17 | Elfutils is a collection of utilities, including ld (a linker), | |
18 | nm (for listing symbols from object files), size (for listing the | |
19 | section sizes of an object or archive file), strip (for discarding | |
20 | symbols), readelf (to see the raw ELF file structures), and elflint | |
15a8a13f | 21 | (to check for well-formed ELF files). |
802ea3af MT |
22 | end |
23 | ||
24 | source_dl = | |
25 | sources = %{thisapp}.tar.bz2 | |
15a8a13f | 26 | |
802ea3af MT |
27 | build |
28 | requires | |
29 | bzip2-devel | |
30 | m4 | |
31 | xz-devel | |
32 | zlib-devel | |
33 | end | |
15a8a13f | 34 | |
802ea3af MT |
35 | configure_options += \ |
36 | --program-prefix=eu- | |
087df360 | 37 | |
802ea3af MT |
38 | prepare_cmds |
39 | # Fix a compiler warning. | |
40 | sed -i.scanf-m -e 's/%m/%a/g' \ | |
41 | src/addr2line.c tests/line2addr.c | |
42 | end | |
087df360 | 43 | |
802ea3af MT |
44 | # fails |
45 | #test | |
46 | # make check | |
47 | #end | |
48 | end | |
15a8a13f | 49 | |
802ea3af MT |
50 | quality-agent |
51 | whitelist_rpath | |
52 | /usr/lib/elfutils | |
53 | end | |
54 | end | |
15a8a13f | 55 | |
802ea3af MT |
56 | packages |
57 | package %{name} | |
d24aa702 | 58 | |
802ea3af MT |
59 | package %{name}-devel |
60 | template DEVEL | |
61 | ||
62 | requires = %{name}=%{thisver} %{name}-libs=%{thisver} | |
63 | end | |
d24aa702 | 64 | |
802ea3af MT |
65 | package %{name}-libs |
66 | template LIBS | |
62b3c312 | 67 | |
802ea3af MT |
68 | files += /usr/lib*/lib*%{version}.so |
69 | files += /usr/lib/elfutils | |
70 | end | |
71 | end |