2009-12-02 02:44:00 +01:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2014-03-18 00:23:45 +01:00
|
|
|
version=2.0.22
|
2014-08-21 11:01:34 +02:00
|
|
|
revision=2
|
2012-04-16 11:09:24 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
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-10-07 23:35:03 +02:00
|
|
|
license="GPL-2"
|
2013-05-30 08:15:54 +02:00
|
|
|
homepage="http://sourceforge.net/projects/acpid2/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz"
|
2014-03-18 00:23:45 +01:00
|
|
|
checksum=3d11454f4283c8f771d8dbd5eb6b5f2bbd9d94d9f77d68bab89e35d98b67ab31
|
2009-12-02 02:44:00 +01:00
|
|
|
|
2014-08-21 11:01:34 +02:00
|
|
|
build_options="systemd"
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
systemd_services="acpid.socket on"
|
|
|
|
fi
|
|
|
|
|
2012-04-16 11:09:24 +02:00
|
|
|
post_install() {
|
2014-08-21 11:01:34 +02:00
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
vinstall ${FILESDIR}/acpid.service 644 usr/lib/systemd/system
|
|
|
|
vinstall ${FILESDIR}/acpid.socket 644 usr/lib/systemd/system
|
|
|
|
fi
|
2011-10-07 23:35:03 +02:00
|
|
|
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
|
|
|
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
2009-12-02 02:44:00 +01:00
|
|
|
}
|