2009-12-02 01:44:00 +00:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2013-05-30 06:15:54 +00:00
|
|
|
version=2.0.19
|
|
|
|
revision=1
|
2012-04-16 09:09:24 +00:00
|
|
|
build_style=gnu-configure
|
2011-05-16 09:02:30 +00:00
|
|
|
short_desc="The ACPI Daemon (acpid) With Netlink Support"
|
2009-12-02 01:44:00 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-07 21:35:03 +00:00
|
|
|
license="GPL-2"
|
2013-05-30 06:15:54 +00:00
|
|
|
homepage="http://sourceforge.net/projects/acpid2/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz"
|
|
|
|
checksum=ce503bf3f36002b45a465dc8a2490c16c553abd5bc2c1c8ece86247ec281dcde
|
2009-12-02 01:44:00 +00:00
|
|
|
long_desc="
|
2011-05-16 09:02:30 +00: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 01:44:00 +00:00
|
|
|
|
2012-04-16 09:09:24 +00:00
|
|
|
post_install() {
|
2012-07-09 16:23:40 +00:00
|
|
|
vinstall ${FILESDIR}/acpid.service 644 usr/lib/systemd/system
|
|
|
|
vinstall ${FILESDIR}/acpid.socket 644 usr/lib/systemd/system
|
2011-10-07 21:35:03 +00:00
|
|
|
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
|
|
|
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
2009-12-02 01:44:00 +00:00
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
acpid_package() {
|
2013-05-30 06:15:54 +00:00
|
|
|
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
2013-04-12 06:55:23 +00:00
|
|
|
systemd_services="acpid.socket on"
|
|
|
|
pkg_install() {
|
2013-05-30 06:15:54 +00:00
|
|
|
vmove all
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|