milis/talimatname/genel/w/w3m/talimat

33 lines
952 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: w3m öncelikli olarak bir sayfalıyıcıdır. Ayrıca konsol tabanlı tarayıcı altyapılarında kullanılabilir.
# URL: http://w3m.sourceforge.net/
# Paketçi: milisarge
# Gerekler: gc imlib2 gtk2 gdk-pixbuf
# Grup: sistem
isim=w3m
surum=0.5.3
devir=1
kaynak=(http://downloads.sourceforge.net/w3m/w3m-0.5.3.tar.gz
http://www.linuxfromscratch.org/patches/downloads/w3m/w3m-0.5.3-bdwgc72-1.patch )
derle() {
cd $isim-$surum
patch -Np1 -i $SRC/w3m-0.5.3-bdwgc72-1.patch
sed -i 's/file_handle/file_foo/' istream.{c,h}
sed -i 's#gdk-pixbuf-xlib-2.0#& x11#' configure
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR=$PKG install
install -v -m644 -D doc/keymap.default $PKG/etc/w3m/keymap
install -v -m644 doc/menu.default $PKG/etc/w3m/menu
install -v -m755 -d $PKG/usr/share/doc/w3m-0.5.3
install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \
$PKG/usr/share/doc/w3m-0.5.3
}