void-packages/srcpkgs/acpid/template

28 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'acpid'
pkgname=acpid
2011-12-19 09:15:19 +01:00
version=2.0.14
2011-10-07 23:35:03 +02:00
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"
build_style=gnu-makefile
2011-05-16 11:02:30 +02:00
short_desc="The ACPI Daemon (acpid) With Netlink Support"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-07 23:35:03 +02:00
license="GPL-2"
2011-12-19 09:15:19 +01:00
checksum=88158b889280017072362b37a4b378826285756489857b93fc5888acf5b4db0b
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."
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
2011-10-07 23:35:03 +02:00
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
vinstall ${FILESDIR}/anything 644 etc/acpi/events
}