blob: 974d2ec0e858edb23fe054d804d5fe3c67c6fa0c (
plain)
1 # Description: Advanced Configuration and Power Interface event management daemon
2 # URL: http://acpid.sf.net
3 # Maintainer: sten, nick dot steeves at shaw dot ca
4 # Packager:
5
6 name=acpid
7 version=1.0.4
8 release=2
9 source=(http://dl.sourceforge.net/acpid/acpid-$version.tar.gz \
10 acpid.rc default default.sh acpid-1.0.4-gcc4.patch)
11
12 build() {
13 cd $name-$version
14 patch -p1 -i $SRC/acpid-1.0.4-gcc4.patch
15 mkdir -p $PKG/usr/{bin,sbin,man/man8}
16 make INSTPREFIX=/usr
17 make INSTPREFIX=$PKG MAN8DIR=$PKG/usr/man/man8 install
18 install -D -m 755 ../acpid.rc $PKG/etc/rc.d/acpid
19 install -D -m 644 ../default $PKG/etc/acpi/events/default
20 install -D -m 755 ../default.sh $PKG/etc/acpi/default.sh
21 }
|