2013-08-24 16:44:52 +02:00
|
|
|
# Template file for 'w3m'
|
|
|
|
pkgname=w3m
|
|
|
|
version=0.5.3
|
2014-07-14 12:25:12 +02:00
|
|
|
revision=3
|
2013-08-24 16:44:52 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-16 09:15:22 +01:00
|
|
|
configure_args="
|
|
|
|
--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2
|
|
|
|
--with-termlib=ncurses --disable-w3mmailer --disable-mouse"
|
|
|
|
hostmakedepends="pkg-config gc-devel perl"
|
2014-07-14 12:25:12 +02:00
|
|
|
makedepends="zlib-devel ncurses-devel gc-devel libressl-devel imlib2-devel libX11-devel"
|
2013-08-24 16:44:52 +02:00
|
|
|
short_desc="Text-based Web browser, as well as pager"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://w3m.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/w3m/w3m-${version}.tar.gz"
|
|
|
|
checksum=e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
|
|
|
|
|
2014-02-16 09:15:22 +01:00
|
|
|
disable_parallel_build=yes
|
|
|
|
|
2014-02-16 09:18:57 +01:00
|
|
|
LDFLAGS="-lX11"
|
|
|
|
|
2013-08-24 16:44:52 +02:00
|
|
|
pre_build() {
|
|
|
|
# build host mktable
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
make CC=cc CFLAGS=-Os LD=ld mktable
|
|
|
|
mv mktable host-mktable
|
|
|
|
chmod 755 host-mktable
|
|
|
|
make clean
|
|
|
|
sed -e 's,./mktable$(EXT),./host-mktable$(EXT),g' -i Makefile
|
|
|
|
fi
|
|
|
|
}
|