]> git.ipfire.org Git - ipfire-3.x.git/blob - dtc/dtc.nm
kernel: Disable support for 6RD
[ipfire-3.x.git] / dtc / dtc.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = dtc
7 version = 1.3.0
8 release = 1
9 thisapp = %{name}-v%{version}
10
11 groups = Development/Tools
12 url = http://git.jdl.com/gitweb/?p=dtc.git;a=summary
13 license = GPLv2+
14 summary = Device Tree Compiler
15
16 description
17 The Device Tree Compiler generates flattened Open Firmware style
18 device trees for use with PowerPC machines that lack an Open Firmware
19 implementation.
20 end
21
22 sources = %{thisapp}.tgz
23 source_dl = http://www.jdl.com/software/
24
25 build
26 requires
27 bison
28 flex
29 end
30
31 make_install_targets += PREFIX=/usr LIBDIR=%{libdir}
32
33 install_cmds
34 # we don't want or need ftdump and it conflicts with
35 # freetype-demos
36 rm -vf %{BUILDROOT}%{bindir}/ftdump
37 end
38 end
39
40 packages
41 package %{name}
42
43 package libfdt
44 template LIBS
45
46 files
47 %{libdir}/libfdt-%{version}.so
48 %{libdir}/libfdt.so.1
49 end
50 end
51
52 package libfdt-devel
53 template DEVEL
54
55 requires += libfdt = %{thisver}
56
57 files
58 %{includedir}
59 %{libdir}/libfdt.so
60 end
61 end
62
63 package %{name}-debuginfo
64 template DEBUGINFO
65 end
66 end