milis/talimatname/genel/l/lshw/talimat

31 lines
771 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: donanım bilgisi gösteren bir araç
2017-06-11 00:30:10 +02:00
# URL: http://ezix.org/project/wiki/HardwareLiSter
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libglade gtk2
2017-06-11 00:30:10 +02:00
2017-10-28 14:10:23 +02:00
isim=lshw
surum=B.02.18
devir=1
kaynak=(http://ezix.org/software/files/$isim-$surum.tar.gz
2017-06-11 00:30:10 +02:00
lshw-gtk.desktop
lshw-gtk.xpm)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $SRC/$isim-$surum
2017-06-11 00:30:10 +02:00
make || return 1
make DESTDIR=$PKG install
# requires glade-2
make gui || return 1
make DESTDIR=$PKG install-gui
# Place the desktop file and logo
mkdir $PKG/usr/share/applications
mkdir $PKG/usr/share/pixmaps
cp $SRC/lshw-gtk.desktop $PKG/usr/share/applications
cp $SRC/lshw-gtk.xpm $PKG/usr/share/pixmaps
# Default gui is gtk-lshw, change that to lshw-gtk for better naming convention
mv $PKG/usr/sbin/gtk-lshw $PKG/usr/sbin/lshw-gtk
}