blob: 860da69cf96d7b428bfa4a3ee74565756e193bb1 (
plain)
1 # Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
2 # URL: http://sourceforge.net/projects/acpid2/
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4
5 name=acpid
6 version=2.0.22
7 release=1
8 source=(http://downloads.sourceforge.net/sourceforge/acpid2/$name-$version.tar.xz \
9 acpid.rc default default.sh)
10
11 build() {
12 cd $name-$version
13 ./configure --prefix=/usr --mandir=/usr/man
14 make
15 make DESTDIR=$PKG MANDIR=/usr/man install
16 install -D -m 755 $SRC/acpid.rc $PKG/etc/rc.d/acpid
17 install -D -m 755 $SRC/default.sh $PKG/etc/acpi/default.sh
18 install -D -m 644 $SRC/default $PKG/etc/acpi/events/default
19 rm -rf $PKG/usr/share
20 }
|