acpid: update to 2.0.12.

This commit is contained in:
Juan RP 2011-10-07 23:35:03 +02:00
parent 5acaaca25d
commit aaf7657012

View File

@ -1,12 +1,13 @@
# Template file for 'acpid'
pkgname=acpid
version=2.0.10
revision=1
version=2.0.12
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>"
checksum=ef7e4ed2f3594dd02a50a92fc47dc0e1fea80c07fab8a5f3d1040ee76fae0acb
license="GPL-2"
checksum=dc8c600f6a7f0ceb423099874e66c6e091ae73eb2227dc5f771dacac50a1b6eb
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
@ -16,13 +17,12 @@ long_desc="
openrc_services="acpid default true"
conf_files="/etc/conf.d/acpid"
Add_dependency full glibc
Add_dependency run 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
vinstall ${FILESDIR}/acpid.rc 755 etc/init.d acpid
vinstall ${FILESDIR}/acpid.confd 644 etc/conf.d acpid
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
vinstall ${FILESDIR}/anything 644 etc/acpi/events
}