32 lines
950 B
Plaintext
32 lines
950 B
Plaintext
# Description: 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/
|
||
# Packager: milisarge
|
||
# Depends on: gc imlib2 gtk2 gdk-pixbuf
|
||
|
||
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
|
||
|
||
}
|