blob: f2ada48a6e05f718f1cee94db2df90ac06ce3d58 (
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.3
9 release=2
10 source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 sed -i s/showaudio/mplayer/ config.h.in
16 sed -i '836d' main.c # function type is void
17 sed -i 's/file_handle/file_foo/' istream.{c,h}
18
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib \
22 --mandir=/usr/man \
23 --disable-image \
24 --disable-gopher \
25 --disable-japanese \
26 --disable-kanjisymbols \
27 --disable-m17n \
28 --disable-messagel10n \
29 --disable-nls \
30 --disable-nntp \
31 --disable-unicode \
32 --disable-xface \
33 --enable-alarm \
34 --enable-ansi-color \
35 --enable-bgcolor \
36 --enable-color \
37 --enable-cookie \
38 --enable-dict \
39 --enable-digest-auth \
40 --enable-external-uri-loader \
41 --enable-help-cgi \
42 --enable-history \
43 --enable-ipv6 \
44 --enable-keymap=w3m \
45 --enable-menu \
46 --enable-mouse \
47 --enable-sslverify \
48 --enable-w3mmailer \
49 --with-gc
50 make
51 make DESTDIR=$PKG install
52
53 rm -rf $PKG/usr/man/ja*
54 rm -rf $PKG/usr/share/locale/
55 }
|