Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5883 - A fast unix command line interface to WWW
Summary: A fast unix command line interface to WWW
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Sascha Schwabbauer (RETIRED)
URL: http://surfraw.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-01 20:05 UTC by mikepolniak
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikepolniak 2002-08-01 20:05:34 UTC
Surfin' in the raw!
 Surfraw provides a fast unix command line interface to a variety of
  popular WWW search engines and other artifacts of power. It reclaims
  google, altavista, babelfish, dejanews, freshmeat, research index,
  slashdot and many others from the false-prophet, pox-infested heathen
  lands of html-forms, placing these wonders where they belong, deep in
  unix heartland, as god loving extensions to the shell.

  Surfraw abstracts the browser away from input. Doing so lets it get on
  with what it's good at. Browsing. Interpretation of linguistic forms
  is handed back to the shell, which is what it, and human beings are
  good at. Combined with netscape-remote or incremental text browsers,
  such as links (http://artax.karlin.mff.cuni.cz/~mikulas/links/), w3m
  (http://www.w3m.org/), and screen(1) a Surfraw liberateur is capable
  of navigating speeds that leave GUI tainted idolaters agape with fear
  and wonder.

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/net-www/surfraw/surfraw-1.0.7.ebuild,v1.1 20 02/08/01 

S=${WORKDIR}/${P}
DESCRIPTION="A fast unix command line interface to WWW"
SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/${P}.tar.gz"
HOMEPAGE="http://surfraw.sourceforge.net/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"


#RDEPEND="/net-www/*"

src_compile() {
        ./configure \
                --prefix=/usr \
                --sysconfdir=/etc \
                --host=${CHOST} || die "./configure failed"                     
              emake || die "make failed"
}

src_install() {
        einstall || die "make install failed"
        dodoc README HACKING COPYING
}

pkg_postinst() {
        einfo 
        einfo "You can get a list of installed elvi by just typing 'surfraw' "
        einfo
        einfo "You can try some searches, for example:"
        einfo "$ ask why is jeeves gay? "
        einfo "$ google -results=100 RMS, GNU, which is sinner, which is sin?"
        einfo "$ rhyme -method=perfect Julian"
        einfo
        einfo "The system configuration file is /etc/surfraw.conf"
        einfo
        einfo "Users can specify preferences in '~/.surfraw.conf'  e.g."
        einfo "SURFRAW_graphical_broswer=mozilla"
        einfo "SURFRAW_text_browser=w3m"
        einfo "SURFRAW_graphical=no"
        einfo
        einfo "surfraw works with any graphical and/or text WWW browser" 
        einfo
}
Comment 1 Sascha Schwabbauer (RETIRED) gentoo-dev 2002-08-04 04:15:36 UTC
I put it in the cvs-tree. Thanks for the contribution.