2011-12-02 16:43:24 +01:00
|
|
|
# Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
|
2014-06-03 23:29:59 +02:00
|
|
|
# URL: http://sourceforge.net/projects/acpid2/
|
2006-11-13 21:01:22 +01:00
|
|
|
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
|
|
|
|
|
|
|
|
name=acpid
|
2014-06-03 23:29:59 +02:00
|
|
|
version=2.0.22
|
2008-11-11 14:22:41 +01:00
|
|
|
release=1
|
2013-12-05 18:07:52 +01:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz \
|
2007-07-24 14:38:42 +02:00
|
|
|
acpid.rc default default.sh)
|
2006-11-13 21:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2011-12-02 16:43:24 +01:00
|
|
|
cd $name-$version
|
2013-01-19 15:46:11 +01:00
|
|
|
./configure --prefix=/usr --mandir=/usr/man
|
2011-12-02 16:43:24 +01:00
|
|
|
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
|
2006-11-13 21:01:22 +01:00
|
|
|
}
|