]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - acpid/acpid.nm
Move all packages to root.
[people/stevee/ipfire-3.x.git] / acpid / acpid.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = acpid
7 version = 2.0.9
8 release = 4
9
10 groups = Base System/Daemons
11 url = http://tedfelix.com/linux/acpid-netlink.html
12 license = GPLv2+
13 summary = ACPI Event Daemon.
14
15 description
16 acpid is a daemon that dispatches ACPI events to user-space programs.
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