]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - dtc/dtc.nm
libuecc: New package
[people/ms/ipfire-3.x.git] / dtc / dtc.nm
CommitLineData
2a35d6ad
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = dtc
7version = 1.3.0
8release = 1
9thisapp = %{name}-v%{version}
10
11groups = Development/Tools
12url = http://git.jdl.com/gitweb/?p=dtc.git;a=summary
13license = GPLv2+
14summary = Device Tree Compiler
15
16description
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.
20end
21
22sources = %{thisapp}.tgz
23source_dl = http://www.jdl.com/software/
24
25build
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
38end
39
40packages
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
66end