]>
Commit | Line | Data |
---|---|---|
2032d212 BS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = iasl | |
7 | version = 20111123 | |
208ef342 BS |
8 | release = 3 |
9 | sup_arches = i686 x86_64 | |
2032d212 BS |
10 | thisapp = acpica-unix-%{version} |
11 | ||
12 | maintainer = Ben Schweikert <ben.schweikert@ipfire.org> | |
13 | groups = Development/Languages | |
14 | url = http://www.acpica.org/downloads/ | |
15 | license = GPL+ | |
16 | summary = Cross development C compiler. | |
17 | ||
18 | description | |
19 | iasl compiles ASL (ACPI Source Language) into AML (ACPI Machine | |
20 | Language), which is suitable for inclusion as a DSDT in system | |
21 | firmware. It also can disassemble AML, for debugging purposes. | |
22 | end | |
23 | ||
24 | source_dl = http://www.acpica.org/download/ | |
25 | ||
26 | build | |
27 | requires | |
28 | ncurses-devel | |
29 | bison | |
30 | flex | |
31 | end | |
32 | ||
33 | prepare_cmds | |
34 | # Remove -Werror from source. | |
35 | find . -type f -exec sed -ie 's!-Werror!!g' {} \; | |
36 | end | |
37 | ||
38 | build | |
39 | # Only build the compiler. | |
40 | cd compiler | |
41 | ||
42 | # Does not support parallel build. | |
43 | make | |
44 | end | |
45 | ||
46 | install | |
47 | mkdir -pv %{BUILDROOT}/usr/bin/ | |
48 | ||
49 | # Only install compiler. | |
50 | cd compiler | |
51 | make install INSTALLDIR=%{BUILDROOT}/usr/bin | |
52 | end | |
53 | end | |
54 | ||
55 | packages | |
56 | package %{name} | |
df5e0ab7 MT |
57 | |
58 | package %{name}-debuginfo | |
59 | template DEBUGINFO | |
60 | end | |
2032d212 | 61 | end |