milis/talimatname/genel/a/acpid/talimat

29 lines
827 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: ACPI olayları için esnek ve genişletilebilir bir arthizmet.
2016-10-21 18:12:06 +02:00
# URL: http://sourceforge.net/projects/acpid2/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
2017-12-22 20:17:22 +01:00
# Gerekler:
# Grup: sistem
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=acpid
surum=2.0.25
devir=1
2017-12-22 20:17:22 +01:00
kaynak=(http://downloads.sourceforge.net/acpid2/$isim-$surum.tar.xzlidlid.sh)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
2017-01-30 23:55:06 +01:00
tar xvf $scripts-$scriptsversion.tar.bz2
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/$isim-$surum
2017-01-30 23:55:06 +01:00
make
make DESTDIR=$PKG install
2016-02-24 01:27:23 +01:00
install -m755 -d $PKG/etc/acpi/events
2017-10-28 14:10:23 +02:00
cp -r samples $PKG/usr/share/doc/$isim-$surum
2016-02-24 01:27:23 +01:00
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
}