2009-12-02 02:44:00 +01:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2011-05-16 11:02:30 +02:00
|
|
|
version=2.0.9
|
2011-05-16 11:08:18 +02:00
|
|
|
revision=1
|
2011-05-16 11:02:30 +02:00
|
|
|
distfiles="http://tedfelix.com/linux/acpid-$version.tar.gz"
|
2009-12-02 02:44:00 +01:00
|
|
|
build_style=gnu_makefile
|
2011-05-16 11:02:30 +02:00
|
|
|
short_desc="The ACPI Daemon (acpid) With Netlink Support"
|
2009-12-02 02:44:00 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-16 11:02:30 +02:00
|
|
|
checksum=f02a4931083ef52e6785c989d9d44720387c1d65a42bdcd364e3b06cd588ba65
|
2009-12-02 02:44:00 +01:00
|
|
|
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."
|
2009-12-02 02:44:00 +01:00
|
|
|
|
2011-05-16 11:08:18 +02:00
|
|
|
keep_empty_dirs=yes
|
2010-04-16 22:09:33 +02:00
|
|
|
openrc_services="acpid default true"
|
2009-12-02 02:44:00 +01:00
|
|
|
conf_files="/etc/conf.d/acpid"
|
|
|
|
Add_dependency full glibc
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2009-12-02 07:02:49 +01:00
|
|
|
install -d ${DESTDIR}/etc/acpi/events
|
|
|
|
|
2011-05-16 11:02:30 +02:00
|
|
|
chmod 755 ${DESTDIR}/usr/sbin/acpid
|
2009-12-02 02:44:00 +01:00
|
|
|
install -D -m755 ${FILESDIR}/acpid.rc \
|
2011-05-16 11:02:30 +02:00
|
|
|
${DESTDIR}/etc/init.d/acpid
|
2009-12-02 02:44:00 +01:00
|
|
|
install -D -m644 ${FILESDIR}/acpid.confd \
|
2011-05-16 11:02:30 +02:00
|
|
|
${DESTDIR}/etc/conf.d/acpid
|
2009-12-02 02:44:00 +01:00
|
|
|
install -D -m755 ${FILESDIR}/default.sh \
|
2011-05-16 11:02:30 +02:00
|
|
|
${DESTDIR}/etc/acpi/default.sh
|
2009-12-02 02:44:00 +01:00
|
|
|
}
|