2011-12-02 17:43:24 +02:00
|
|
|
# Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
|
|
|
|
# URL: http://tedfelix.com/linux/acpid-netlink.html
|
2006-11-13 22:01:22 +02:00
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
|
|
|
|
name=acpid
|
2011-12-02 17:43:24 +02:00
|
|
|
version=2.0.13
|
2008-11-11 15:22:41 +02:00
|
|
|
release=1
|
2011-12-02 17:43:24 +02:00
|
|
|
source=(http://www.tedfelix.com/linux/$name-$version.tar.gz \
|
2007-07-24 15:38:42 +03:00
|
|
|
acpid.rc default default.sh)
|
2006-11-13 22:01:22 +02:00
|
|
|
|
|
|
|
build() {
|
2011-12-02 17:43:24 +02:00
|
|
|
cd $name-$version
|
|
|
|
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
|
|
|
|
cd kacpimon
|
|
|
|
make -f makefile
|
|
|
|
make SBIN=$PKG/usr/sbin install
|
|
|
|
install -D -m 644 kacpimon.8 $PKG/usr/man/man8/kacpimon.8
|
2006-11-13 22:01:22 +02:00
|
|
|
}
|