milis/talimatname/genel/h/hddtemp/talimat

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: S.M.A.R.T degerlerini okuyarak hdd ısısını verir
# URL: http://www.guzu.net/linux/hddtemp.php
# Paketçi: milisarge
# Gerekler:
2018-08-09 13:27:08 +02:00
# Grup: sistem
2018-06-09 00:06:58 +02:00
isim=hddtemp
surum=0.3-beta15
devir=2
kaynak=(http://nongnu.askapache.com/hddtemp/$isim-$surum.tar.bz2
http://nongnu.askapache.com/hddtemp/hddtemp.db
hddtemp-0.3-beta15-satacmds.patch
hddtemp-0.3-beta15-byteswap.patch
hddtemp-0.3-beta15-execinfo.patch
hddtemp-0.3-beta15-nls.patch
hddtemp-0.3-beta15-iconv.patch
hddtemp.rc)
derle() {
cd $isim-$surum
patch -p 1 -i $SRC/hddtemp-0.3-beta15-satacmds.patch
patch -p 1 -i $SRC/hddtemp-0.3-beta15-byteswap.patch
patch -p 1 -i $SRC/hddtemp-0.3-beta15-execinfo.patch
patch -p 1 -i $SRC/hddtemp-0.3-beta15-nls.patch
patch -p 1 -i $SRC/hddtemp-0.3-beta15-iconv.patch
autoreconf
./configure \
--prefix=/usr \
--mandir=/usr/man \
--with-db-path=/etc/hddtemp.db
make
make DESTDIR=$PKG install
install -m 0644 -D $SRC/hddtemp.db $PKG/etc/hddtemp.db
install -m 0744 -D $SRC/hddtemp.rc $PKG/etc/rc.d/init.d/hddtemp
}