void-packages/srcpkgs/acpid/template
Juan RP dadc3e98be acpid: update to 2.0.10. Use default scripts from Arch.
--HG--
rename : srcpkgs/acpid/files/default.sh => srcpkgs/acpid/files/handler.sh
2011-05-18 10:03:14 +02:00

29 lines
1.1 KiB
Plaintext

# Template file for 'acpid'
pkgname=acpid
version=2.0.10
revision=1
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>"
checksum=ef7e4ed2f3594dd02a50a92fc47dc0e1fea80c07fab8a5f3d1040ee76fae0acb
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."
openrc_services="acpid default true"
conf_files="/etc/conf.d/acpid"
Add_dependency full glibc
post_install()
{
install -D -m755 ${FILESDIR}/acpid.rc ${DESTDIR}/etc/init.d/acpid
install -D -m644 ${FILESDIR}/acpid.confd ${DESTDIR}/etc/conf.d/acpid
install -D -m755 ${FILESDIR}/handler.sh ${DESTDIR}/etc/acpi/handler.sh
install -D -m644 ${FILESDIR}/anything \
${DESTDIR}/etc/acpi/events/anything
}