2011-12-02 17:43:24 +02:00
|
|
|
# Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
|
2014-06-04 01:29:59 +04:00
|
|
|
# URL: http://sourceforge.net/projects/acpid2/
|
2016-12-31 00:02:54 +01:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
|
2006-11-13 22:01:22 +02:00
|
|
|
|
|
|
|
name=acpid
|
2019-08-25 19:28:38 +02:00
|
|
|
version=2.0.32
|
2008-11-11 15:22:41 +02:00
|
|
|
release=1
|
2013-12-05 19:07:52 +02:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz \
|
2018-04-19 20:44:18 +02: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
|
2016-12-31 00:02:54 +01:00
|
|
|
./configure --prefix=/usr
|
2011-12-02 17:43:24 +02:00
|
|
|
make
|
2016-12-31 00:02:54 +01:00
|
|
|
make DESTDIR=$PKG install
|
2011-12-02 17:43:24 +02:00
|
|
|
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
|
2016-12-31 00:02:54 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-11-13 22:01:22 +02:00
|
|
|
}
|