milis/talimatname/genel/a/acpid/talimat

36 lines
821 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.

# Tanım: ACPI olayları için esnek ve genişletilebilir bir arthizmet.
# URL: http://sourceforge.net/projects/acpid2/
# Paketçi: milisarge
# Gerekler:
isim=acpid
surum=2.0.25
devir=1
kaynak=(http://downloads.sourceforge.net/acpid2/$isim-$surum.tar.xz lid lid.sh)
derle() {
cd $isim-$surum
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/$isim-$surum
make
make DESTDIR=$PKG install
install -m755 -d $PKG/etc/acpi/events
cp -r samples $PKG/usr/share/doc/$isim-$surum
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
}