milis/talimatname/genel/l/lshw/talimat

31 lines
771 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: donanım bilgisi gösteren bir araç
# URL: http://ezix.org/project/wiki/HardwareLiSter
# Paketçi: milisarge
# Gerekler: libglade gtk2
isim=lshw
surum=B.02.18
devir=1
kaynak=(http://ezix.org/software/files/$isim-$surum.tar.gz
lshw-gtk.desktop
lshw-gtk.xpm)
derle() {
cd $SRC/$isim-$surum
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
}