summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2005-03-14 17:20:56 +0000
committerSeemant Kulleen <seemant@gentoo.org>2005-03-14 17:20:56 +0000
commit8ff38f6faa8223f93d438b4d78a8e7249910e910 (patch)
treed7ca1c5210f25032cdb2b6515f9df3c15de72cc5 /www-client/links
parentStop defaulting WEP key to [1] as it messes with ndiswrapper users (diff)
downloadhistorical-8ff38f6faa8223f93d438b4d78a8e7249910e910.tar.gz
historical-8ff38f6faa8223f93d438b4d78a8e7249910e910.tar.bz2
historical-8ff38f6faa8223f93d438b4d78a8e7249910e910.zip
Moved from net-www/links to www-client/links.
Diffstat (limited to 'www-client/links')
-rw-r--r--www-client/links/ChangeLog295
-rw-r--r--www-client/links/Manifest6
-rw-r--r--www-client/links/files/digest-links-2.1_pre151
-rw-r--r--www-client/links/files/links-0.96-r2-gentoo.patch55
-rw-r--r--www-client/links/files/links-2.1pre15-utf8.diff.bz2bin0 -> 4670 bytes
-rw-r--r--www-client/links/links-2.1_pre15.ebuild144
-rw-r--r--www-client/links/metadata.xml11
7 files changed, 512 insertions, 0 deletions
diff --git a/www-client/links/ChangeLog b/www-client/links/ChangeLog
new file mode 100644
index 000000000000..98a1b4d4d1ce
--- /dev/null
+++ b/www-client/links/ChangeLog
@@ -0,0 +1,295 @@
+# ChangeLog for net-www/links
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.1 2005/03/14 17:20:56 seemant Exp $
+
+*links-2.1_pre15 (14 Mar 2005)
+
+ 14 Mar 2005; Seemant Kulleen <seemant@gentoo.org>
+ +files/links-0.96-r2-gentoo.patch, +files/links-2.1pre15-utf8.diff.bz2,
+ +metadata.xml, +links-2.1_pre15.ebuild:
+ Moved from net-www/links to www-client/links.
+
+ 11 Jan 2005; Heinrich Wendel <lanius@gentoo.org>
+ files/links-2.1pre15-utf8.diff.bz2:
+ update utf8 patch, bug #67528
+
+ 24 Oct 2004; Heinrich Wendel <lanius@gentoo.org> -links-0.96-r2.ebuild,
+ -links-2.1_pre11.ebuild, -links-2.1_pre13.ebuild, -links-2.1_pre14.ebuild,
+ links-2.1_pre15.ebuild, -links-2.1_pre9.ebuild:
+ remove old versions; commit a fix for bug 67528
+
+ 17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> links-2.1_pre15.ebuild:
+ stable on amd64.
+
+ 22 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> links-2.1_pre15.ebuild:
+ Stable on sparc
+
+ 21 Sep 2004; Heinrich Wendel <lanius@gentoo.org> links-2.1_pre15.ebuild:
+ stable on x86
+
+ 21 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
+ +files/links-2.1pre15-utf8.diff.bz2, links-2.1_pre15.ebuild:
+ enhance unicode support, bug #61682
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ links-2.1_pre11.ebuild, links-2.1_pre13.ebuild, links-2.1_pre14.ebuild,
+ links-2.1_pre15.ebuild:
+ Masked links-2.1_pre15.ebuild stable for ppc
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ links-2.1_pre11.ebuild, links-2.1_pre13.ebuild, links-2.1_pre14.ebuild:
+ Masked links-2.1_pre14.ebuild stable for ppc
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ links-2.1_pre11.ebuild, links-2.1_pre13.ebuild:
+ Masked links-2.1_pre13.ebuild stable for ppc
+
+ 04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ links-2.1_pre11.ebuild:
+ Masked links-2.1_pre11.ebuild stable for ppc
+
+ 15 Jul 2004; Tom Gall <tgall@gentoo.org> links-2.1_pre15.ebuild:
+ added ~ppc64, bug #55430
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ links-2.1_pre15.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> links-2.1_pre11.ebuild,
+ links-2.1_pre13.ebuild, links-2.1_pre14.ebuild, links-2.1_pre15.ebuild,
+ links-2.1_pre9.ebuild:
+ QA - fix use invocation
+
+ 23 Jun 2004; <malc@gentoo.org> links-2.1_pre11.ebuild:
+ Mark stable on amd64
+
+ 08 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> links-2.1_pre15.ebuild:
+ Stable on alpha.
+
+*links-2.1_pre15 (06 May 2004)
+
+ 06 May 2004; Daniel Black <dragonheart@gentoo.org> +links-2.1_pre15.ebuild:
+ version bump. Thanks to Marcin Kryczek <aye@gentoo.pl> in bug #49632
+
+ 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> links-2.1_pre9.ebuild:
+ Add die following econf for bug 48950
+
+ 09 Jan 2004; Jason Wever <weeve@gentoo.org> links-2.1_pre11.ebuild:
+ Marked stable on sparc.
+
+ 21 Dec 2003; Guy Martin <gmsoft@gentoo.org> links-2.1_pre13.ebuild:
+ Marked stable on hppa.
+
+ 08 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> links-2.1_pre11.ebuild,
+ links-2.1_pre13.ebuild, links-2.1_pre14.ebuild:
+ added directfb to IUSE (bug 35410)
+
+*links-2.1_pre14 (03 Dec 2003)
+
+ 03 Dec 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre14.ebuild:
+ version bump thanks to: Ingo -LaSombra- Hoffmann <las0mbra@ig.com.br> in bug
+ #34995
+
+*links-2.1_pre13 (29 Oct 2003)
+
+ 29 Oct 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre13.ebuild:
+ I took so much time with the last update, that pre13 got released in the
+ meantime, so here it is. Thanks again to Ingo -LaSombra- Hoffmann
+ <las0mbra@ig.com.br> in bug #29575
+
+ 29 Oct 2003; Brandy Westcott brandy@gentoo.org links-2.1_pre11.ebuild,
+ links-2.1_pre12.ebuild, links-2.1_pre9.ebuild:
+ Added gpm as a dependency of fbcon; gpm is needed in order to compile the
+ framebuffer graphics driver. See bug #29230
+
+*links-2.1_pre12 (28 Oct 2003)
+
+ 28 Oct 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre12.ebuild:
+ Version bump, thanks to: Ingo -LaSombra- Hoffmann <las0mbra@ig.com.br> in bug
+ #29575
+
+ 21 Sep 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre11.ebuild,
+ links-2.1_pre9.ebuild:
+ due to popular demand, removing gpm requirement from fbcon
+
+ 20 Sep 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre11.ebuild:
+ graphics not needed for ssl -- sheesh at me. Thanks spanky <vapier@gentoo.org>
+ in bug #29086
+
+ 09 Sep 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre11.ebuild,
+ links-2.1_pre9.ebuild:
+ added gpm to dependency list with fbcon. Thanks to Brandy Westcott
+ <brandy@gentoo.org> for the providing the fix in bug #23703 opened by
+ Paul Slinski <pauls@globaliqx.com>. Also added DirectFB support thanks
+ to Florian Löding <flonai@gmx.de> in bug #26464 opened by: Evan Langlois
+ <ekl@crc.homelinux.org>
+
+*links-2.1_pre11 (11 Jun 2003)
+
+ 11 Jun 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre11.ebuild:
+ version bump thanks to: Ingo -LaSombra- Hoffmann <las0mbra@ig.com.br> in bug
+ #22557
+
+*links-2.1_pre9 (04 Mar 2003)
+
+ 25 Mar 2003; <rac@gentoo.org> links-2.1_pre9.ebuild:
+ mark 2.1_pre9 stable on x86/ppc/sparc/hppa, as these were all stable on pre2
+ and <pre7 is now gone from upstream source
+
+ 03 Mar 2003; Aron Griffis <agriffis@gentoo.org> links-2.1_pre9.ebuild:
+ stable on alpha
+
+ 04 Mar 2003; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre9.ebuild
+ files/digest-links-2.1_pre9 :
+
+ Version bump thanks to: Ingo -LaSombra- Hoffmann <las0mbra@ig.com.br> in
+ bug #16473.
+
+*links-2.1_pre7 (30 Jan 2003)
+
+ 29 Feb 2003; Guy Martin <gmsoft@gentoo.org> links-2.1_pre7.ebuild :
+ Added ~hppa to keywords.
+
+ 30 Jan 2003; foser <foser@gentoo.org> links-2.1_pre7.ebuild :
+ New version
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*links-2.1_pre6 (04 Nov 2002)
+
+ 29 Feb 2003; Guy Martin <gmsoft@gentoo.org> links-2.1_pre6.ebuild :
+ Added ~hppa to keywords.
+
+ 15 Dec 2002; Bjoern Brauel <bjb@gentoo.org> links-2.1_pre6.ebuild :
+ Add alpha to KEYWORDS
+
+ 04 Nov 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre6.ebuild
+ files/digest-links-2.1_pre6 :
+
+ Version bump thanks to: autobot@midsouth.rr.com (AutoBot) in bug #10226.
+
+*links-2.1_pre3 (30 Sep 2002)
+
+ 29 Feb 2003; Guy Martin <gmsoft@gentoo.org> links-2.1_pre3.ebuild :
+ Added hppa to keywords.
+
+ 30 Sep 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre3.ebuild
+ files/digest-links-2.1_pre3 :
+
+ Version bump + security fix. If the user wishes to run links2 in svga
+ mode, they must now enable the suid bit themselves. Closes bug #8556 by
+ vapier@gentoo.org
+
+ 24 Oct 2002; Michael Nazaroff <naz@gentoo.org> links-2.1_pre3.ebuild
+
+ Added a fix for bug #9272, Thanks goes to Scott Beck for noticing the problem
+ and fixing it.
+
+*links-2.1_pre2 (11 Sep 2002)
+
+ 11 Sep 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre2-r2.ebuild
+ files/digest-links-2.1_pre2-r2 :
+
+ From: kevin@aptbasilicata.it (Maurizio Disimino) in bug # 7809
+
+ at the moment, links will be compiled with --enable-graphics only if
+ USE="png". If --enable-graphics is not supplied, fb WILL NOT WORK.
+ Moreover, --enable-graphis should be enabled for 'X' or 'fbcon'.
+
+ Note: if X or fbcon usegflag are enabled, links will be built in
+ graphic mode. libpng is required to compile links in graphic mode
+ not required in textmode),so let's add libpng for X? and fbcon?
+
+ X? ( virtual/x11 >=media-libs/libpng-1.2.1 )
+ fbcon? ( >=media-libs/libpng-1.2.1 )"
+
+ - Fixed DEPEND and src_compile().
+ - Some cosmetic changes.
+
+
+ 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> links-0.96-r2.ebuild
+ links-2.1_pre2-r1.ebuild :
+
+ PROVIDE="virtual/textbrowser"
+
+ 22 Jul 2002; Michael Nazaroff <naz@gentoo.org> links-0.96-r2.ebuild :
+
+ Added a patch to fix links 0.96 compiling against gpm, since the previous
+ version still did even with -gpm set in USE. Thanx to Christopher Horler for
+ the excellent patch and ebuild. This fix's bug 5351.
+
+ 21 Jul 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre2-r1.ebuild
+
+ changed --disable-graphics to --without-graphics. Fix submitted by:
+ eroper@wanfear.com (Edward Roper) in bug #5193.
+
+ 11 Jul 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre2-r1.ebuild
+ files/digest-links-2.1_pre2-r1 :
+
+ Adjusted permissions on executable if svga is in USE. Thanks to:
+ hielvc@cox.net (Hiel Van Campen) in bug #4891.
+
+*links-2.1_pre2 (09 Jul 2002)
+
+ 09 Jul 2002; Seemant Kulleen <seemant@gentoo.org> links-2.1_pre2.ebuild
+ files/digest-links-2.1_pre2 :
+
+ Version bump, which should solve the png issue. Thanks to:
+ j_r_fonseca@yahoo.co.uk (Jose' Fonseca) in bug #4764
+
+*links-2.0 (11 Jun 2002)
+
+ 11 Jun 2002; Seemant Kulleen <seemant@gentoo.org> links-2.0.ebuild
+ files/digest-links-2.0 :
+
+ Version bump to final release.
+
+*links-2.0_pre6 (4 Jun 2002)
+
+ 4 Jun 2002; Seemant Kulleen <seemant@gentoo.org> links-2.0_pre6.ebuild
+ files/digest-links-2.0_pre6 :
+
+ Version bump.
+
+*links-2.0_pre4-r2 (29 May 2002)
+
+ 29 May 2002: Michael M Nazaroff <naz@gentoo.org> links-2.0_pre4-r2.ebuild :
+
+ Applied patch that hopefully seems to fix the gpm-1.20.0 problem, and also
+ adds some other little features to links.
+
+*links-2.0_pre4-r1 (27 May 2002)
+
+ 27 May 2002; Mike Jones <ashmodai@gentoo.org> links-2.0_pre4-r1.ebuild :
+
+ Changed the dependency to gpm-1.19.6 as gpm-1.20.0 was masked and was
+ breaking.
+
+*links-2.0_pre4 (27 May 2002)
+
+ 27 May 2002; Martin Schlemmer <azarah@gentoo.org> links-2.0_pre4.ebuild :
+
+ Version bump.
+
+*links-2.0_pre3 (26 May 2002)
+
+ 26 May 2002; Seemant Kulleen <seemant@gentoo.org> links-2.0_pre3.ebuild :
+ files/digest-links-2.0_pre3 :
+
+ Version bump thanks to kamisama@free.fr (Defresne Sylvain (keiichi)) in
+ bug #3015
+
+*links-0.96-r2 (13 Feb 2003)
+
+ 13 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*links-0.96-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/www-client/links/Manifest b/www-client/links/Manifest
new file mode 100644
index 000000000000..02efa05376e2
--- /dev/null
+++ b/www-client/links/Manifest
@@ -0,0 +1,6 @@
+MD5 338fd54f566e14acfb7d38d32505dbc8 links-2.1_pre15.ebuild 3731
+MD5 731a796e75a97b51bac293445db512de ChangeLog 10145
+MD5 56d78ea6a5d49e31ea36cdc98b0b48ad metadata.xml 352
+MD5 52bed2c64a669feed86577cb52f8cbb5 files/links-0.96-r2-gentoo.patch 1400
+MD5 c41fc5981244d82657e4a2dac584b264 files/digest-links-2.1_pre15 68
+MD5 85b8ee32c98ab5a596d1d1b6ca3d68eb files/links-2.1pre15-utf8.diff.bz2 4670
diff --git a/www-client/links/files/digest-links-2.1_pre15 b/www-client/links/files/digest-links-2.1_pre15
new file mode 100644
index 000000000000..aa85a2fe9148
--- /dev/null
+++ b/www-client/links/files/digest-links-2.1_pre15
@@ -0,0 +1 @@
+MD5 d70a0ad41fba921f04d222d3546827de links-2.1pre15.tar.bz2 3789080
diff --git a/www-client/links/files/links-0.96-r2-gentoo.patch b/www-client/links/files/links-0.96-r2-gentoo.patch
new file mode 100644
index 000000000000..1b0c3e63736d
--- /dev/null
+++ b/www-client/links/files/links-0.96-r2-gentoo.patch
@@ -0,0 +1,55 @@
+--- acconfig.h.orig Sun Jul 21 19:28:40 2002
++++ acconfig.h Sun Jul 21 19:27:20 2002
+@@ -53,4 +53,7 @@
+ #undef HAVE_SSL
+
+ /* */
++#undef HAVE_LIBGPM
++
++/* */
+ #undef X2
+--- configure.in.orig Sun Jul 21 19:28:21 2002
++++ configure.in Sun Jul 21 19:36:46 2002
+@@ -56,8 +56,6 @@
+ AC_HAVE_FUNCS(getpid setpgid getpgid setpgrp getpgrp)
+
+ dnl Checks for libraries.
+-dnl Replace `main' with a function in -lgpm:
+-AC_CHECK_LIB(gpm, Gpm_Open)
+ dnl Replace `main' with a function in -lsocket:
+ AC_CHECK_FUNC(socket, cf_result=yes, cf_result=no)
+ if test "$cf_result" = no; then
+@@ -161,6 +159,33 @@
+ AC_MSG_RESULT($cf_result)
+ #endif
+
++dnl Configure switch for gpm added
++dnl Replace `main' with a function in -lgpm:
++#ifdef HAVE_LIBGPM
++AC_ARG_WITH(gpm, [ --without-gpm disable GPM support], [if test "$withval" = no; then disable_gpm=yes; fi])
++AC_MSG_CHECKING([for GPM])
++LIBS_X="$LIBS"
++cf_result=no
++if test -z "$disable_gpm"; then
++ if test "$cf_result" = no; then
++ LIBS="-lgpm $LIBS_X"
++ AC_TRY_LINK([#include <gpm.h>], [Gpm_Connect gpm; Gpm_Open(&gpm, 0)], cf_result=yes, cf_result=no)
++ fi
++
++ if test "$cf_result" != yes; then
++ if test "$withval" = yes; then
++ AC_MSG_ERROR("GPM not found")
++ fi
++ LIBS="$LIBS_X"
++ else
++ AC_DEFINE(HAVE_LIBGPM)
++ fi
++fi
++AC_MSG_RESULT($cf_result)
++#endif
++
++
++
+ test "$have_emx" = yes && LDFLAGS="$LDFLAGS -Zexe"
+
+ AC_OUTPUT(Makefile)
diff --git a/www-client/links/files/links-2.1pre15-utf8.diff.bz2 b/www-client/links/files/links-2.1pre15-utf8.diff.bz2
new file mode 100644
index 000000000000..19fdc9991b78
--- /dev/null
+++ b/www-client/links/files/links-2.1pre15-utf8.diff.bz2
Binary files differ
diff --git a/www-client/links/links-2.1_pre15.ebuild b/www-client/links/links-2.1_pre15.ebuild
new file mode 100644
index 000000000000..c0549a8deb3e
--- /dev/null
+++ b/www-client/links/links-2.1_pre15.ebuild
@@ -0,0 +1,144 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.1_pre15.ebuild,v 1.1 2005/03/14 17:20:56 seemant Exp $
+
+inherit eutils
+
+DESCRIPTION="links is a fast lightweight text tand graphic web-browser"
+HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
+# To handle pre-version ...
+MYP="${P/_/}"
+S="${WORKDIR}/${MYP}"
+SRC_URI="${HOMEPAGE}/download/${MYP}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ppc-macos s390 sparc x86"
+IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg unicode"
+
+# Note: if X or fbcon usegflag are enabled, links will be built in graphic
+# mode. libpng is required to compile links in graphic mode
+# (not required in text mode), so let's add libpng for X? and fbcon?
+
+RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
+ gpm? ( sys-libs/gpm )
+ javascript? ( >=sys-devel/flex-2.5.4a )
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( >=media-libs/jpeg-6b )
+ tiff? ( >=media-libs/tiff-3.5.7 )
+ svga? ( >=media-libs/svgalib-1.4.3 >=media-libs/libpng-1.2.1 )
+ X? ( virtual/x11 >=media-libs/libpng-1.2.1 )
+ directfb? ( dev-libs/DirectFB )
+ fbcon? ( >=media-libs/libpng-1.2.1 sys-libs/gpm )
+ sys-libs/zlib
+ virtual/libc
+ sys-libs/ncurses"
+
+DEPEND="${RDEPEND}
+ sys-devel/automake
+ sys-devel/autoconf
+ sys-devel/gcc
+ dev-util/pkgconfig"
+
+PROVIDE="virtual/textbrowser"
+
+pkg_setup (){
+
+ if ! use gpm && use fbcon ; then
+ einfo
+ einfo "gpm has been installed since you have included fbcon in your USE flags."
+ einfo "The links framebuffer driver requires gpm in order to compile."
+ einfo
+ fi
+
+}
+
+src_unpack (){
+ unpack ${A}
+
+ if use unicode ; then
+ epatch ${FILESDIR}/${MYP}-utf8.diff.bz2
+ export LANG=C
+ cd ${S}/intl && ./gen-intl && cd .. || die "gen-intl filed"
+ fi
+}
+
+src_compile (){
+
+ local myconf
+ myconf="--program-suffix=2"
+
+ use X \
+ && myconf="${myconf} --enable-graphics --with-x" \
+ || myconf="${myconf} --without-x"
+
+ use png \
+ && myconf="${myconf} --with-libpng" \
+ || myconf="${myconf} --without-libpng"
+
+ use jpeg \
+ && myconf="${myconf} --with-libjpeg" \
+ || myconf="${myconf} --without-libjpeg"
+
+ use tiff \
+ && myconf="${myconf} --with-libtiff" \
+ || myconf="${myconf} --without-libtiff"
+
+ use svga \
+ && myconf="${myconf} --enable-graphics --with-svgalib" \
+ || myconf="${myconf} --without-svgalib"
+
+ use fbcon \
+ && myconf="${myconf} --enable-graphics --with-fb" \
+ || myconf="${myconf} --without-fb"
+
+ use directfb \
+ && myconf="${myconf} --enable-graphics --with-directfb" \
+ || myconf="${myconf} --without-directfb"
+
+ use ssl \
+ && myconf="${myconf} --with-ssl" \
+ || myconf="${myconf} --without-ssl"
+
+ use javascript \
+ && myconf="${myconf} --enable-javascript" \
+ || myconf="${myconf} --disable-javascript"
+
+ # Note: --enable-static breaks.
+
+ # Note: ./configure only support 'gpm' features auto-detection, so if
+ # 'sys-libs/gpm' is compiled on your system, you'll compile links
+ # with gpm support ...
+
+ export LANG=C
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install (){
+ einstall
+
+ if [ ! -f /usr/bin/links ]
+ then
+ dosym links2 /usr/bin/links
+ fi
+
+ # Only install links icon if X driver was compiled in ...
+ use X && { insinto /usr/share/pixmaps ; doins graphics/links.xpm ; }
+
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES TODO
+ dohtml doc/links_cal/*
+}
+
+
+pkg_postinst() {
+
+ if use svga
+ then
+ einfo "You had the svga USE flag enabled, but for security reasons"
+ einfo "the links2 binary is NOT setuid by default. In order to"
+ einfo "enable links2 to work in SVGA, please change the permissions"
+ einfo "of /usr/bin/links2 to enable suid."
+ fi
+}
diff --git a/www-client/links/metadata.xml b/www-client/links/metadata.xml
new file mode 100644
index 000000000000..d587fabae417
--- /dev/null
+++ b/www-client/links/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>las0mbra@ig.com.br</email>
+ <name>Ingo -LaSombra- Hoffmann</name>
+ <description>Ingo is the third party maintainer through
+ seemant@gentoo.org</description>
+</maintainer>
+</pkgmetadata>