]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - acpid/acpid.nm
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / acpid / acpid.nm
CommitLineData
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
6name = acpid
7version = 2.0.9
8release = 4
79af96d3 9
802ea3af
MT
10groups = Base System/Daemons
11url = http://tedfelix.com/linux/acpid-netlink.html
12license = GPLv2+
13summary = ACPI Event Daemon.
79af96d3 14
802ea3af 15description
79af96d3 16 acpid is a daemon that dispatches ACPI events to user-space programs.
802ea3af
MT
17end
18
19source_dl = http://tedfelix.com/linux/
20
21build
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
35end
36
37packages
38 package %{name}
39 end
40end