milis/talimatname/genel/acpid/talimat

38 lines
867 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: ACPI olayları için esnek ve genişletilebilir bir arthizmet.
# URL: http://sourceforge.net/projects/acpid2/
# Packager: berlius at nutyx dot com
# Depends on:
name=acpid
version=2.0.25
release=1
source=(http://downloads.sourceforge.net/acpid2/$name-$version.tar.xz lid lid.sh)
build() {
cd $name-$version
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
./configure --prefix=/usr \
--docdir=/usr/share/doc/$name-$version
make
make DESTDIR=$PKG install
install -m755 -d $PKG/etc/acpi/events
cp -r samples $PKG/usr/share/doc/$name-$version
cp -r $SRC/lid $PKG/etc/acpi/events
cp -r $SRC/lid.sh $PKG/etc/acpi
chmod +x $PKG/etc/acpi/lid.sh
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-acpid
}