forked from ports/contrib
21 lines
680 B
Plaintext
21 lines
680 B
Plaintext
# Description: Advanced Configuration and Power Interface event management daemon
|
|
# URL: http://acpid.sf.net
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
# Packager: Attic, unknown at unknown
|
|
|
|
name=acpid
|
|
version=1.0.6
|
|
release=1
|
|
source=(http://dl.sourceforge.net/acpid/acpid-$version.tar.gz \
|
|
acpid.rc default default.sh)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
mkdir -p $PKG/usr/{bin,sbin,man/man8}
|
|
make INSTPREFIX=/usr
|
|
make INSTPREFIX=$PKG MAN8DIR=$PKG/usr/man/man8 install
|
|
install -D -m 755 ../acpid.rc $PKG/etc/rc.d/acpid
|
|
install -D -m 644 ../default $PKG/etc/acpi/events/default
|
|
install -D -m 755 ../default.sh $PKG/etc/acpi/default.sh
|
|
}
|