2006-02-23 15:26:10 +00:00
|
|
|
# Description: Pager that can also be used as a text-based web browser
|
2009-09-19 01:08:18 +02:00
|
|
|
# URL: http://w3m.sourceforge.net/
|
2021-02-01 22:28:00 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2009-09-19 01:08:18 +02:00
|
|
|
# Depends on: boehm-gc
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=w3m
|
2020-12-09 00:50:13 +01:00
|
|
|
version=0.5.3-38
|
2019-08-11 21:17:11 +10:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/tats/w3m/archive/debian/$version/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2019-08-11 21:17:11 +10:00
|
|
|
cd $name-debian-$version
|
2006-10-02 09:58:37 +00:00
|
|
|
|
2019-08-11 21:17:11 +10:00
|
|
|
patch -p1 -i debian/patches/010_upstream.patch
|
|
|
|
patch -p1 -i debian/patches/020_debian.patch
|
|
|
|
rm -r doc/CVS
|
2006-10-02 09:58:37 +00:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure \
|
2007-05-31 20:49:27 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
2006-02-23 15:26:10 +00:00
|
|
|
--disable-image \
|
|
|
|
--disable-gopher \
|
|
|
|
--disable-japanese \
|
|
|
|
--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 \
|
|
|
|
--with-gc
|
|
|
|
make
|
2006-10-02 09:58:37 +00:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2019-08-11 21:17:11 +10:00
|
|
|
rm -r $PKG/usr/share/man/{de,ja}
|
|
|
|
rm $PKG/usr/share/w3m/w3mhelp-funcdesc.{de,ja}.pl
|
|
|
|
rm -rf $PKG/usr/share/locale
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|