forked from ports/contrib
21 lines
695 B
Plaintext
21 lines
695 B
Plaintext
# Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
|
|
# URL: http://tedfelix.com/linux/acpid-netlink.html
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
name=acpid
|
|
version=2.0.20
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz \
|
|
acpid.rc default default.sh)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr --mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG MANDIR=/usr/man install
|
|
install -D -m 755 $SRC/acpid.rc $PKG/etc/rc.d/acpid
|
|
install -D -m 755 $SRC/default.sh $PKG/etc/acpi/default.sh
|
|
install -D -m 644 $SRC/default $PKG/etc/acpi/events/default
|
|
rm -rf $PKG/usr/share
|
|
}
|