milis/talimatname/genel/acpid/talimat

38 lines
867 B
Plaintext
Raw Normal View History

# Description: ACPI olayları için esnek ve genişletilebilir bir arthizmet.
2016-10-21 18:12:06 +02:00
# URL: http://sourceforge.net/projects/acpid2/
2016-02-24 01:27:23 +01:00
# 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
}