forked from ports/contrib
28 lines
704 B
Plaintext
28 lines
704 B
Plaintext
# Description: ACPI event management daemon with netlink support
|
|
# URL: https://sourceforge.net/projects/acpid2/
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
name=acpid
|
|
version=2.0.33
|
|
release=1
|
|
source=(
|
|
https://downloads.sourceforge.net/sourceforge/\
|
|
acpid2/${name}-${version}.tar.xz
|
|
acpid.rc default default.sh
|
|
)
|
|
|
|
build() {
|
|
cd ${name}-${version}
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR="${PKG}" install
|
|
|
|
install -D -m 755 "${SRC}"/acpid.rc "${PKG}"/etc/rc.d/${name}
|
|
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
|
|
}
|
|
|
|
# s-sh-mode
|