Prereq: 1.5 Index: surfraw/surfraw-2.2.0.ebuild =================================================================== --- surfraw/surfraw-2.2.0.ebuild {cset ad35029a-00f0-4e71-8707-b9fce8c165d7} +++ surfraw/surfraw-2.2.0.ebuild {local clone} @@ -1,33 +1,50 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/surfraw/surfraw-2.1.5.ebuild,v 1.5 2006/12/22 16:18:48 dertobi123 Exp $ inherit bash-completion eutils DESCRIPTION="A fast unix command line interface to WWW" -HOMEPAGE="http://alioth.debian.org/projects/surfraw/" -SRC_URI="mirror://debian/pool/main/s/surfraw/${PN}_${PV}.tar.gz" +HOMEPAGE="http://surfraw.alioth.debian.org" +SRC_URI="${HOMEPAGE}/dist/${P}.tar.gz" SLOT="0" LICENSE="public-domain" -KEYWORDS="amd64 ppc sparc x86" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" +RDEPEND="" +DEPEND="" + src_unpack() { unpack ${A}; cd ${S} epatch ${FILESDIR}/${PN}-2.1.5-gentoo_pkg_tools.patch + # Man page symlinks shouldn't link to compressed files + sed -i 's,\.gz,,g' links.IN } src_compile() { econf \ - --with-elvidir='$(datadir)'/surfraw || die "./configure failed" + --with-elvidir='$(datadir)'/surfraw \ + --disable-opensearch \ + || die "./configure failed" emake || die "make failed" } +src_test() { + ewarn "Testsuite is not being run!" + einfo "The testsuite for surfraw requires a working network connection" + einfo "and relies on the output generated by services beyond our control," + einfo "and as such its success is likely quite ephemeral. If you" + einfo "experience problems you should first run the testsuite locally" + einfo "before reporting bugs to help in tracking down the source of the" + einfo "bug." +} + src_install() { make DESTDIR=${D} install || die "make install failed" - dodoc debian/changelog AUTHORS HACKING NEWS README TODO + dodoc debian/changelog AUTHORS ChangeLog HACKING NEWS README TODO dobashcompletion surfraw-bash-completion } # Checksums: MD5 # 84b9c327570cf4464bcb0cd5943253d3 surfraw-2.2.0.ebuild # 8c4ad846da8d8bdfecbd9529cb9659fd surfraw-2.2.0.ebuild [diff]