milis/talimatname/genel/a/acpid/talimat

36 lines
833 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
# Gerekler:
2016-02-24 01:27:23 +01:00
name=acpid
version=2.0.25
release=1
source=(http://downloads.sourceforge.net/acpid2/$name-$version.tar.xz lid lid.sh)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd $name-$version
2017-01-30 23:55:06 +01:00
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-01-30 23:55:06 +01:00
--docdir=/usr/share/doc/$name-$version
make
make DESTDIR=$PKG install
2016-02-24 01:27:23 +01:00
install -m755 -d $PKG/etc/acpi/events
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
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
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-acpid
}