blob: 2623c0c321859a2e5dcd335e0acc769a2823b368 (
plain)
1 # Description: Pager that can also be used as a text-based web browser
2 # URL: http://w3m.sourceforge.net/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: Han Boetes, han at mijncomputer dot dl
5 # Depends on: boehm-gc
6
7 name=w3m
8 version=0.5.2
9 release=1
10 source=(http://dl.sourceforge.net/${name}/${name}-${version}.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 sed -i s/showaudio/mplayer/ config.h.in
16
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib \
20 --mandir=/usr/man \
21 --disable-image \
22 --disable-gopher \
23 --disable-japanese \
24 --disable-kanjisymbols \
25 --disable-m17n \
26 --disable-messagel10n \
27 --disable-nls \
28 --disable-nntp \
29 --disable-unicode \
30 --disable-xface \
31 --enable-alarm \
32 --enable-ansi-color \
33 --enable-bgcolor \
34 --enable-color \
35 --enable-cookie \
36 --enable-dict \
37 --enable-digest-auth \
38 --enable-external-uri-loader \
39 --enable-help-cgi \
40 --enable-history \
41 --enable-ipv6 \
42 --enable-keymap=w3m \
43 --enable-menu \
44 --enable-mouse \
45 --enable-sslverify \
46 --enable-w3mmailer \
47 --with-gc
48 make
49 make DESTDIR=$PKG install
50
51 rm -rf $PKG/usr/man/ja*
52 rm -rf $PKG/usr/share/locale/
53 }
|