]>
Commit | Line | Data |
---|---|---|
79af96d3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
79af96d3 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = acpid |
7 | version = 2.0.9 | |
8 | release = 4 | |
79af96d3 | 9 | |
802ea3af MT |
10 | groups = Base System/Daemons |
11 | url = http://tedfelix.com/linux/acpid-netlink.html | |
12 | license = GPLv2+ | |
13 | summary = ACPI Event Daemon. | |
79af96d3 | 14 | |
802ea3af | 15 | description |
79af96d3 | 16 | acpid is a daemon that dispatches ACPI events to user-space programs. |
802ea3af MT |
17 | end |
18 | ||
19 | source_dl = http://tedfelix.com/linux/ | |
20 | ||
21 | build | |
22 | build | |
23 | sed -e "s/-Werror//g" -i Makefile | |
24 | make CC=gcc RPM_OPT_FLAGS="%{CFLAGS}" %{PARALLLEISMFLAGS} | |
25 | end | |
26 | ||
27 | install_cmds | |
28 | mkdir -pv %{BUILDROOT}/etc/acpi/{actions,events} | |
29 | cp -vf %{DIR_SOURCE}/power %{BUILDROOT}/etc/acpi/events/ | |
30 | cp -vf %{DIR_SOURCE}/power.sh %{BUILDROOT}/etc/acpi/actions/ | |
31 | ||
32 | mkdir -pv %{BUILDROOT}/etc/sysconfig | |
33 | cp -vf %{DIR_SOURCE}/acpid.sysconfig %{BUILDROOT}/etc/sysconfig/acpid | |
34 | end | |
35 | end | |
36 | ||
37 | packages | |
38 | package %{name} | |
39 | end | |
40 | end |