milis/talimatname/genel/w3m/talimat

32 lines
950 B
Plaintext
Raw Normal View History

2017-04-20 13:38:58 +02:00
# Description: w3m öncelikli olarak bir sayfalıyıcıdır. Ayrıca konsol tabanlı tarayıcı altyapılarında kullanılabilir.
2016-02-24 01:27:23 +01:00
# URL: http://w3m.sourceforge.net/
2017-04-20 13:38:58 +02:00
# Packager: milisarge
2017-04-16 14:53:56 +02:00
# Depends on: gc imlib2 gtk2 gdk-pixbuf
2016-02-24 01:27:23 +01:00
name=w3m
version=0.5.3
release=1
source=(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 )
build() {
cd $name-$version
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
}