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