acpid: update to 2.0.13

This commit is contained in:
Mikhail Kolesnik 2011-12-02 17:43:24 +02:00
parent fe90344e66
commit 2b9f052ff6
3 changed files with 18 additions and 13 deletions

View File

@ -12,5 +12,7 @@ drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/acpi_listen.8.gz
-rw-r--r-- root/root usr/man/man8/acpid.8.gz
-rw-r--r-- root/root usr/man/man8/kacpimon.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-x--- root/root usr/sbin/acpid
-rwxr-x--- root/root usr/sbin/kacpimon

View File

@ -1,4 +1,4 @@
61156ef32015c56dc0f2e3317f4ae09e acpid-1.0.10.tar.gz
5bbbb9a320192df1cdd8d0e9a0196379 acpid-2.0.13.tar.gz
d9cfda3e2ce4161edb19ed737950f7db acpid.rc
a0d3f9a8480faf602a7415d03267f49f default
270a4cddfe84c89c0fe534ece700d98b default.sh

View File

@ -1,20 +1,23 @@
# Description: Advanced Configuration and Power Interface event management daemon
# URL: http://acpid.sf.net
# Description: Advanced Configuration and Power Interface event management daemon with netlink suppport
# URL: http://tedfelix.com/linux/acpid-netlink.html
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Packager: Attic, unknown at unknown
name=acpid
version=1.0.10
version=2.0.13
release=1
source=(http://download.sourceforge.net/acpid/acpid-$version.tar.gz \
source=(http://www.tedfelix.com/linux/$name-$version.tar.gz \
acpid.rc default default.sh)
build() {
cd $name-$version
mkdir -p $PKG/usr/{bin,sbin,man/man8}
make INSTPREFIX=/usr
make INSTPREFIX=$PKG MAN8DIR=$PKG/usr/man/man8 install
install -D -m 755 ../acpid.rc $PKG/etc/rc.d/acpid
install -D -m 644 ../default $PKG/etc/acpi/events/default
install -D -m 755 ../default.sh $PKG/etc/acpi/default.sh
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
}