]> git.ipfire.org Git - ipfire-3.x.git/blame - libunwind/libunwind.nm
kernel: Enable /dev/mem
[ipfire-3.x.git] / libunwind / libunwind.nm
CommitLineData
d1ecc343
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = libunwind
add5a956 7version = 1.1
d1ecc343
MT
8release = 1
9
10groups = Development/Debuggers
11url = http://savannah.nongnu.org/projects/libunwind
12license = BSD
13summary = An unwinding library.
14
15description
16 Libunwind provides a C ABI to determine the call-chain of a program.
17end
18
19source_dl = http://download.savannah.gnu.org/releases/libunwind/
20
21build
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
add5a956
MT
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
d1ecc343
MT
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
55end
56
57packages
58 package %{name}
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67end