Update talimat

This commit is contained in:
Aylinux 2018-05-30 18:34:38 +03:00 committed by GitHub
parent 60a52f100a
commit 0340f494ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 11 deletions

View File

@ -5,17 +5,15 @@
# Grup: sistem # Grup: sistem
isim=acpid isim=acpid
surum=2.0.25 surum=2.0.29
devir=1 devir=1
kaynak=(http://downloads.sourceforge.net/acpid2/$isim-$surum.tar.xzlidlid.sh) kaynak=(http://downloads.sourceforge.net/acpid2/$isim-$surum.tar.xz
lid
lid.sh)
derle() { derle() {
cd $isim-$surum cd $isim-$surum
source /etc/blfs-bootscripts ./configure --prefix=/usr --sbindir=/usr/bin
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
make DESTDIR=$PKG install make DESTDIR=$PKG install
install -m755 -d $PKG/etc/acpi/events install -m755 -d $PKG/etc/acpi/events
@ -23,6 +21,4 @@ derle() {
cp -r $SRC/lid $PKG/etc/acpi/events cp -r $SRC/lid $PKG/etc/acpi/events
cp -r $SRC/lid.sh $PKG/etc/acpi cp -r $SRC/lid.sh $PKG/etc/acpi
chmod +x $PKG/etc/acpi/lid.sh chmod +x $PKG/etc/acpi/lid.sh
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-acpid
} }