2009-12-02 02:44:00 +01:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2012-04-16 11:09:24 +02:00
|
|
|
version=2.0.16
|
2012-07-09 18:23:40 +02:00
|
|
|
revision=2
|
2012-04-16 11:09:24 +02:00
|
|
|
build_style=gnu-configure
|
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"
|
2012-06-02 12:49:43 +02:00
|
|
|
homepage="http://tedfelix.com/linux/acpid-netlink.html"
|
|
|
|
distfiles="http://tedfelix.com/linux/acpid-$version.tar.xz"
|
2012-04-16 11:09:24 +02:00
|
|
|
checksum=94df0e73813a5dbaa1d7ae1049b3216b0cfd9d0843c89241080699ca62569808
|
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
|
|
|
|
2012-04-16 11:09:24 +02:00
|
|
|
post_install() {
|
2012-07-09 18:23:40 +02:00
|
|
|
vinstall ${FILESDIR}/acpid.service 644 usr/lib/systemd/system
|
|
|
|
vinstall ${FILESDIR}/acpid.socket 644 usr/lib/systemd/system
|
2011-10-07 23:35:03 +02:00
|
|
|
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
|
|
|
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
2009-12-02 02:44:00 +01:00
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
acpid_package() {
|
|
|
|
conf_files="/etc/conf.d/acpid"
|
|
|
|
systemd_services="acpid.socket on"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|