51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
|
# Description: Pager that can also be used as a text-based web browser
|
||
|
# URL: http://w3m.sourceforge.net/
|
||
|
# Maintainer: Jukka Heino, jukka at karsikkopuu dot net
|
||
|
# Packager: Han Boetes, han at mijncomputer dot dl
|
||
|
# Depends on: boehm-gc
|
||
|
|
||
|
name=w3m
|
||
|
version=0.5.1
|
||
|
release=2
|
||
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
sed -i s/showaudio/mplayer/ config.h.in
|
||
|
./configure \
|
||
|
--disable-image \
|
||
|
--disable-gopher \
|
||
|
--disable-japanese \
|
||
|
--disable-kanjisymbols \
|
||
|
--disable-m17n \
|
||
|
--disable-messagel10n \
|
||
|
--disable-nls \
|
||
|
--disable-nntp \
|
||
|
--disable-unicode \
|
||
|
--disable-xface \
|
||
|
--enable-alarm \
|
||
|
--enable-ansi-color \
|
||
|
--enable-bgcolor \
|
||
|
--enable-color \
|
||
|
--enable-cookie \
|
||
|
--enable-dict \
|
||
|
--enable-digest-auth \
|
||
|
--enable-external-uri-loader \
|
||
|
--enable-help-cgi \
|
||
|
--enable-history \
|
||
|
--enable-ipv6 \
|
||
|
--enable-keymap=w3m \
|
||
|
--enable-menu \
|
||
|
--enable-mouse \
|
||
|
--enable-sslverify \
|
||
|
--enable-w3mmailer \
|
||
|
--libexecdir=/usr/lib \
|
||
|
--prefix=/usr \
|
||
|
--with-gc
|
||
|
make
|
||
|
make install DESTDIR=$PKG
|
||
|
rm -rf $PKG/usr/man/ja*
|
||
|
rm -rf $PKG/usr/share/locale/
|
||
|
# do not rm usr/share/w3m/w3mhelp.html
|
||
|
}
|