]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - elfutils/elfutils.nm
elfutils: Correctly configure debuginfod
[people/pmueller/ipfire-3.x.git] / elfutils / elfutils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = elfutils
7 version = 0.189
8 release = 2
9
10 groups = Development/Libraries
11 url = https://sourceware.org/elfutils/
12 license = GPLv2 with exceptions
13 summary = A collection of utilities and DSOs to handle compiled objects.
14
15 description
16 Elfutils is a collection of utilities, including ld (a linker),
17 nm (for listing symbols from object files), size (for listing the
18 section sizes of an object or archive file), strip (for discarding
19 symbols), readelf (to see the raw ELF file structures), and elflint
20 (to check for well-formed ELF files).
21 end
22
23 source_dl = https://sourceware.org/elfutils/ftp/%{version}/
24 sources = %{thisapp}.tar.bz2
25
26 build
27 DEBUGINFOD_URLS = "https://pakfire.ipfire.org/"
28
29 requires
30 bzip2-devel
31 curl-devel
32 m4
33 xz-devel
34 zlib-devel
35 zstd-devel
36 end
37
38 configure_options += \
39 --disable-debuginfod
40
41 test
42 make check
43 end
44
45 install_cmds
46 # Export DEBUGINFOD_URLS
47 echo "%{DEBUGINFOD_URLS}" > %{BUILDROOT}%{sysconfdir}/debuginfod/%{DISTRO_SNAME}.urls
48 end
49 end
50
51 packages
52 package %{name}
53
54 package %{name}-devel
55 template DEVEL
56
57 requires
58 %{name} = %{thisver}
59 %{name}-libs = %{thisver}
60 end
61 end
62
63 package %{name}-libs
64 template LIBS
65
66 files
67 %{sysconfdir}/debuginfod
68 %{sysconfdir}/profile.d/debuginfod*
69 %{libdir}/lib*%{version}.so
70 end
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76 end