# lynx 2.8 what=lynx-`grep LYNX_VERSION userdefs.h|perl -nle 'print $1 if /#define\s+LYNX_VERSION\s+"(.*)"/'` test "x$what" = "x" && exit 1 # We don't like having tiny patchlevel codes like dev.x or rel.x what=`echo $what|sed -e 's/\(dev\|rel\)\.[0-9]*$//'` prefix=/.software/share/$what eprefix=/.software/arch/$what # hmm... --libdir=$prefix/config?! CFLAGS="-O -Wall" LIBS= if [ -f /software/bind8/lib/libbind.a ]; then LIBS="$LIBS -lbind" fi export CFLAGS LIBS ./configure \ --prefix=$prefix \ --exec-prefix=$eprefix \ --libdir=$prefix/config \ --sbindir=$eprefix/servers \ --libexecdir=$eprefix/servers \ --datadir=$prefix/data \ --sysconfdir=$prefix/config \ --with-screen=ncurses \ --enable-8bit-toupper \ --enable-color-style \ --enable-default-colors \ --enable-underlines \ --disable-dired #--enable-debug \ #--enable-warnings \ #--enable-color-style \ #CFLAGS="-O -Wall -DLYNX_LSS_FILE=\"\\\\\\\"$prefix/config/lynx.lss\\\\\\\"\"" \