void-packages/srcpkgs/acpid/template
2011-11-24 07:58:25 +01:00

27 lines
1 KiB
Text

# Template file for 'acpid'
pkgname=acpid
version=2.0.13
homepage="http://tedfelix.com/linux/acpid-netlink.html"
distfiles="http://tedfelix.com/linux/acpid-$version.tar.gz"
build_style=gnu-makefile
short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=00c789ec5078ddfc07b827c632d91e92a35db5c7130f4f2ee05e1952136d3d93
long_desc="
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."
systemd_services="acpid.service on"
conf_files="/etc/conf.d/acpid"
post_install()
{
vinstall ${FILESDIR}/acpid.service 644 lib/systemd/system
vinstall ${FILESDIR}/acpid.socket 644 lib/systemd/system
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
vinstall ${FILESDIR}/anything 644 etc/acpi/events
}