22 lines
715 B
Plaintext
22 lines
715 B
Plaintext
# Description: Advanced Configuration and Power Interface event management daemon
|
|
# URL: http://acpid.sf.net
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
# Packager:
|
|
|
|
name=acpid
|
|
version=1.0.4
|
|
release=2
|
|
source=(http://dl.sourceforge.net/acpid/acpid-$version.tar.gz \
|
|
acpid.rc default default.sh acpid-1.0.4-gcc4.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p1 -i $SRC/acpid-1.0.4-gcc4.patch
|
|
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
|
|
}
|