void-packages/srcpkgs/acpid/template
Juan RP 24664c14c6 Added acpid-1.0.10 build template.
--HG--
extra : convert_revision : 95ca6a9f541ec73b9debaa8cd60cfafdf27ef61a
2009-12-02 02:44:00 +01:00

29 lines
1.1 KiB
Text

# Template file for 'acpid'
pkgname=acpid
version=1.0.10
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_args="INSTPREFIX=$XBPS_DESTDIR/$pkgname-$version
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>"
checksum=22703ce0dd7305aca01bc9ac741659c32b1593f1d6fde492df7f01067a534760
long_desc="
ACPID used to try to handle events internally. Rather than try to climb
an ever-growing mountain, ACPID now lets YOU define what events to handle.
Any event that publishes itself to /proc/acpi/event can be handled."
openrc_services="acpid default"
conf_files="/etc/conf.d/acpid"
Add_dependency full glibc
post_install()
{
chmod 755 ${DESTDIR}/usr/sbin/acpid || return 1
install -D -m755 ${FILESDIR}/acpid.rc \
${DESTDIR}/etc/init.d/acpid || return 1
install -D -m644 ${FILESDIR}/acpid.confd \
${DESTDIR}/etc/conf.d/acpid || return 1
install -D -m755 ${FILESDIR}/default.sh \
${DESTDIR}/etc/acpi/default.sh || return 1
}