]> git.ipfire.org Git - ipfire-3.x.git/blob - libunwind/libunwind.nm
kernel: Enable /dev/mem
[ipfire-3.x.git] / libunwind / libunwind.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libunwind
7 version = 1.1
8 release = 1
9
10 groups = Development/Debuggers
11 url = http://savannah.nongnu.org/projects/libunwind
12 license = BSD
13 summary = An unwinding library.
14
15 description
16 Libunwind provides a C ABI to determine the call-chain of a program.
17 end
18
19 source_dl = http://download.savannah.gnu.org/releases/libunwind/
20
21 build
22 requires
23 autoconf
24 automake
25 libtool
26 end
27
28 prepare_cmds
29 aclocal
30 libtoolize --force
31 autoheader
32 automake --add-missing
33 autoconf
34
35 # for aarch64
36 for i in $(find . -name config.guess -or -name config.sub); do
37 cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
38 done
39 end
40
41 configure_options += \
42 --enable-static \
43 --enable-shared
44
45 keep_libraries = %{libdir}/libunwind-ptrace.a
46
47 # Does not work very well.
48 #test
49 # make check
50 #end
51
52 install_cmds
53 rm -vf %{BUILDROOT}%{libdir}/libunwind-ptrace.so*
54 end
55 end
56
57 packages
58 package %{name}
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end