### this file is sourced not run
PKGVER=2.8.9dev.8
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 6.3 updated to latest
TARBALL=lynx-cur.tar.bz2
MD5SUM=dcd004c0244e084f1d37a99308cd3835
SRC_URL=http://invisible-island.net/datafiles/release/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="lynx: lynx $PKGVER (Text-based Web browser)
lynx: 
lynx: Lynx is a fully-featured World Wide Web (WWW) browser for users on 
lynx: Unix, VMS, and other platforms running cursor-addressable, 
lynx: character-cell terminals or emulators. That includes vt100 terminals, 
lynx: other character-cell displays, and vt100 emulators such as Kermit or 
lynx: Procomm running on PCs or Macs.
lynx: 
lynx: 
lynx: 
lynx: http://lynx.isc.org/
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/lynx*
	./configure $CONFFLAGS --sysconfdir=/etc/lynx \
	    --with-ssl --enable-cgi-links --enable-widec --enable-ipv6 \
	    --datadir=/usr/share/doc/lynx-$PKGVER \
	    --with-zlib --with-bzlib --enable-locale-charset \
	    --with-screen=ncursesw &&
	    #ac_cv_path_GZIP=/bin/gzip ac_cv_path_TAR=/bin/tar \
	    #ac_cv_path_UNCOMPRESS=/bin/gunzip ac_cv_path_ZCAT=/bin/zcat \
	make $MAKEFLAGS && make install-full &&
	chgrp -v -R 0 /usr/share/doc/lynx-$PKGVER/lynx_doc &&
	pkg_build_slackdesc
}


