acpid: update to 2.0.9.

This commit is contained in:
Juan RP 2011-05-16 11:02:30 +02:00
parent 2dc8e31d09
commit da6063478f

View file

@ -1,20 +1,18 @@
# Template file for 'acpid' # Template file for 'acpid'
pkgname=acpid pkgname=acpid
version=1.0.10 version=2.0.9
revision=1 distfiles="http://tedfelix.com/linux/acpid-$version.tar.gz"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile build_style=gnu_makefile
make_install_args="INSTPREFIX=$XBPS_DESTDIR/$pkgname-$version short_desc="The ACPI Daemon (acpid) With Netlink Support"
MAN8DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share/man/man8"
short_desc="A daemon for delivering ACPI power management events"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=22703ce0dd7305aca01bc9ac741659c32b1593f1d6fde492df7f01067a534760 checksum=f02a4931083ef52e6785c989d9d44720387c1d65a42bdcd364e3b06cd588ba65
long_desc=" long_desc="
ACPID used to try to handle events internally. Rather than try to climb In recent linux kernels, the /proc/acpi/event interface has been deprecated.
an ever-growing mountain, ACPID now lets YOU define what events to handle. The same information (and more) is available via netlink (a way for the kernel
Any event that publishes itself to /proc/acpi/event can be handled." 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."
keep_empty_dirs=yes
openrc_services="acpid default true" openrc_services="acpid default true"
conf_files="/etc/conf.d/acpid" conf_files="/etc/conf.d/acpid"
Add_dependency full glibc Add_dependency full glibc
@ -23,11 +21,11 @@ post_install()
{ {
install -d ${DESTDIR}/etc/acpi/events install -d ${DESTDIR}/etc/acpi/events
chmod 755 ${DESTDIR}/usr/sbin/acpid || return 1 chmod 755 ${DESTDIR}/usr/sbin/acpid
install -D -m755 ${FILESDIR}/acpid.rc \ install -D -m755 ${FILESDIR}/acpid.rc \
${DESTDIR}/etc/init.d/acpid || return 1 ${DESTDIR}/etc/init.d/acpid
install -D -m644 ${FILESDIR}/acpid.confd \ install -D -m644 ${FILESDIR}/acpid.confd \
${DESTDIR}/etc/conf.d/acpid || return 1 ${DESTDIR}/etc/conf.d/acpid
install -D -m755 ${FILESDIR}/default.sh \ install -D -m755 ${FILESDIR}/default.sh \
${DESTDIR}/etc/acpi/default.sh || return 1 ${DESTDIR}/etc/acpi/default.sh
} }