2021-02-04 23:50:45 +01:00
|
|
|
# Description: ACPI event management daemon with netlink support
|
|
|
|
# URL: https://sourceforge.net/projects/acpid2/
|
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
2006-11-13 22:01:22 +02:00
|
|
|
|
|
|
|
name=acpid
|
2019-08-25 19:28:38 +02:00
|
|
|
version=2.0.32
|
2021-05-01 17:41:14 +02:00
|
|
|
release=3
|
2021-02-05 00:19:45 +01:00
|
|
|
source=(
|
2021-02-08 23:56:12 +01:00
|
|
|
https://downloads.sourceforge.net/sourceforge/\
|
|
|
|
acpid2/${name}-${version}.tar.xz
|
2021-02-05 00:19:45 +01:00
|
|
|
acpid.rc default default.sh
|
|
|
|
)
|
2006-11-13 22:01:22 +02:00
|
|
|
|
|
|
|
build() {
|
2021-02-08 23:56:12 +01:00
|
|
|
cd ${name}-${version}
|
2021-02-04 23:50:45 +01:00
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR="${PKG}" install
|
|
|
|
|
2021-02-08 23:56:12 +01:00
|
|
|
install -D -m 755 "${SRC}"/acpid.rc "${PKG}"/etc/rc.d/${name}
|
2021-02-04 23:50:45 +01:00
|
|
|
install -D -m 755 "${SRC}"/default.sh "${PKG}"/etc/acpi/default.sh
|
|
|
|
install -D -m 644 "${SRC}"/default "${PKG}"/etc/acpi/events/default
|
|
|
|
rm -r "${PKG}"/usr/share/doc
|
2006-11-13 22:01:22 +02:00
|
|
|
}
|
2021-02-04 23:50:45 +01:00
|
|
|
|
|
|
|
# s-sh-mode
|