2009-12-02 02:44:00 +01:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2011-10-07 23:35:03 +02:00
|
|
|
version=2.0.12
|
|
|
|
homepage="http://tedfelix.com/linux/acpid-netlink.html"
|
2011-05-16 11:02:30 +02:00
|
|
|
distfiles="http://tedfelix.com/linux/acpid-$version.tar.gz"
|
2009-12-02 02:44:00 +01:00
|
|
|
build_style=gnu_makefile
|
2011-05-16 11:02:30 +02:00
|
|
|
short_desc="The ACPI Daemon (acpid) With Netlink Support"
|
2009-12-02 02:44:00 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-07 23:35:03 +02:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=dc8c600f6a7f0ceb423099874e66c6e091ae73eb2227dc5f771dacac50a1b6eb
|
2009-12-02 02:44:00 +01:00
|
|
|
long_desc="
|
2011-05-16 11:02:30 +02:00
|
|
|
In recent linux kernels, the /proc/acpi/event interface has been deprecated.
|
|
|
|
The same information (and more) is available via netlink (a way for the kernel
|
|
|
|
to communicate with userspace that is usually used for networking) and the
|
|
|
|
input layer (mouse, keyboard, power button, etc...). This version of acpid
|
|
|
|
supports netlink and the input layer."
|
2009-12-02 02:44:00 +01:00
|
|
|
|
2010-04-16 22:09:33 +02:00
|
|
|
openrc_services="acpid default true"
|
2009-12-02 02:44:00 +01:00
|
|
|
conf_files="/etc/conf.d/acpid"
|
2011-10-07 23:35:03 +02:00
|
|
|
Add_dependency run glibc
|
2009-12-02 02:44:00 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-07 23:35:03 +02:00
|
|
|
vinstall ${FILESDIR}/acpid.rc 755 etc/init.d acpid
|
|
|
|
vinstall ${FILESDIR}/acpid.confd 644 etc/conf.d acpid
|
|
|
|
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
|
|
|
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
2009-12-02 02:44:00 +01:00
|
|
|
}
|