summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-05-06 09:43:53 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-05-06 09:43:53 +0000
commitf3fb1990a71c57c710149d44fce92b64f78ffe51 (patch)
tree4dee158b306746ebf1bc2554048135f704f8cf91 /net-www/links
parentVersion bump closes bug #50102. (diff)
downloadhistorical-f3fb1990a71c57c710149d44fce92b64f78ffe51.tar.gz
historical-f3fb1990a71c57c710149d44fce92b64f78ffe51.tar.bz2
historical-f3fb1990a71c57c710149d44fce92b64f78ffe51.zip
version bump. Thanks to Marcin Kryczek <aye@gentoo.pl> in bug #49632
Diffstat (limited to 'net-www/links')
-rw-r--r--net-www/links/ChangeLog7
-rw-r--r--net-www/links/Manifest14
-rw-r--r--net-www/links/files/digest-links-2.1_pre151
-rw-r--r--net-www/links/links-2.1_pre15.ebuild132
4 files changed, 147 insertions, 7 deletions
diff --git a/net-www/links/ChangeLog b/net-www/links/ChangeLog
index 5ab893a55a62..b1332e0bc4ee 100644
--- a/net-www/links/ChangeLog
+++ b/net-www/links/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-www/links
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/links/ChangeLog,v 1.41 2004/04/26 14:27:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/links/ChangeLog,v 1.42 2004/05/06 09:43:53 dragonheart Exp $
+
+*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
diff --git a/net-www/links/Manifest b/net-www/links/Manifest
index 995fd0951080..3b4cf2f941b3 100644
--- a/net-www/links/Manifest
+++ b/net-www/links/Manifest
@@ -1,13 +1,15 @@
+MD5 0218207dece0f33b63dfaf95f534e95b ChangeLog 8082
MD5 c2344f6f25b650b5354dff6f82411e0d links-0.96-r2.ebuild 1200
-MD5 6a3c082f62d6cf2560b55d49d7b69fe2 links-2.1_pre14.ebuild 3374
-MD5 3423c07e262c1308ff1b5e0458b09cbf links-2.1_pre9.ebuild 3178
MD5 5dd6361908aa3ad5ba5ca2511b3d7d63 links-2.1_pre11.ebuild 3364
-MD5 0ec866dbdf0d48a20fbf4e7fa43f3999 ChangeLog 7897
MD5 d880c3a1cbafb0bfaddfb3730b0e9503 links-2.1_pre13.ebuild 3367
+MD5 6a3c082f62d6cf2560b55d49d7b69fe2 links-2.1_pre14.ebuild 3374
+MD5 3423c07e262c1308ff1b5e0458b09cbf links-2.1_pre9.ebuild 3178
MD5 56d78ea6a5d49e31ea36cdc98b0b48ad metadata.xml 352
-MD5 52bed2c64a669feed86577cb52f8cbb5 files/links-0.96-r2-gentoo.patch 1400
-MD5 e8eedeca8d9b94ce7cc0e5f919500740 files/digest-links-2.1_pre9 67
+MD5 d51730765e16adb151be4b36c37f6251 links-2.1_pre15.ebuild 3522
+MD5 eceb1d1aff64bd73e335f5dad2a71f42 files/digest-links-0.96-r2 62
MD5 71861032c7ce183e3427e4e205748323 files/digest-links-2.1_pre11 68
MD5 046ddc5a1ffa8dbcb33de3941a26a854 files/digest-links-2.1_pre13 68
MD5 69263625114721ef46f0ba722f79e299 files/digest-links-2.1_pre14 68
-MD5 eceb1d1aff64bd73e335f5dad2a71f42 files/digest-links-0.96-r2 62
+MD5 e8eedeca8d9b94ce7cc0e5f919500740 files/digest-links-2.1_pre9 67
+MD5 52bed2c64a669feed86577cb52f8cbb5 files/links-0.96-r2-gentoo.patch 1400
+MD5 c41fc5981244d82657e4a2dac584b264 files/digest-links-2.1_pre15 68
diff --git a/net-www/links/files/digest-links-2.1_pre15 b/net-www/links/files/digest-links-2.1_pre15
new file mode 100644
index 000000000000..aa85a2fe9148
--- /dev/null
+++ b/net-www/links/files/digest-links-2.1_pre15
@@ -0,0 +1 @@
+MD5 d70a0ad41fba921f04d222d3546827de links-2.1pre15.tar.bz2 3789080
diff --git a/net-www/links/links-2.1_pre15.ebuild b/net-www/links/links-2.1_pre15.ebuild
new file mode 100644
index 000000000000..8e07c8bff589
--- /dev/null
+++ b/net-www/links/links-2.1_pre15.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre15.ebuild,v 1.1 2004/05/06 09:43:53 dragonheart Exp $
+
+IUSE="directfb ssl javascript png X gpm tiff fbcon svga jpeg"
+
+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"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~amd64 ~ia64"
+
+# 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/glibc
+ 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_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 ...
+
+ 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
+}