2009-12-02 01:44:00 +00:00
|
|
|
# Template file for 'acpid'
|
|
|
|
pkgname=acpid
|
2014-08-24 07:23:33 +00:00
|
|
|
version=2.0.23
|
2014-12-14 11:58:55 +00:00
|
|
|
revision=6
|
2014-12-05 10:59:07 +00:00
|
|
|
build_options="systemd"
|
2012-04-16 09:09:24 +00:00
|
|
|
build_style=gnu-configure
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
2011-05-16 09:02:30 +00:00
|
|
|
short_desc="The ACPI Daemon (acpid) With Netlink Support"
|
2009-12-02 01:44:00 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-07 21:35:03 +00:00
|
|
|
license="GPL-2"
|
2013-05-30 06:15:54 +00:00
|
|
|
homepage="http://sourceforge.net/projects/acpid2/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz"
|
2014-08-24 07:23:33 +00:00
|
|
|
checksum=4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee
|
2009-12-02 01:44:00 +00:00
|
|
|
|
2012-04-16 09:09:24 +00:00
|
|
|
post_install() {
|
2014-08-21 09:01:34 +00: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 21:35:03 +00:00
|
|
|
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
|
|
|
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
2014-10-13 10:07:44 +00:00
|
|
|
vsv acpid
|
2009-12-02 01:44:00 +00:00
|
|
|
}
|