/[gentoo-x86]/net-misc/snarf/snarf-7.0-r3.ebuild
Gentoo

Contents of /net-misc/snarf/snarf-7.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Sep 23 19:45:12 2009 UTC (5 years ago) by patrick
Branch: MAIN
Changes since 1.4: +3 -3 lines
Remove virtual/libc
(Portage version: 2.2_rc41/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/snarf/snarf-7.0-r3.ebuild,v 1.4 2008/03/26 02:00:31 ranger Exp $
4
5 inherit eutils
6
7 IUSE=""
8 DESCRIPTION="Small and fast command line resource grabber with support for http, gopher, finger, and ftp protocols."
9 SRC_URI="http://www.xach.com/snarf/${P}.tar.gz"
10 HOMEPAGE="http://www.xach.com/snarf/"
11 KEYWORDS="alpha amd64 ppc sparc x86"
12 LICENSE="GPL-2"
13 SLOT="0"
14
15 DEPEND=""
16
17 src_unpack() {
18 unpack ${A}
19 epatch "${FILESDIR}"/snarf-basename-patch.diff
20 epatch "${FILESDIR}"/snarf-unlink-empty.diff
21 epatch "${FILESDIR}"/snarf-fix-off-by-ones.diff
22 }
23
24 src_install() {
25 dobin snarf
26 doman snarf.1
27 dodoc ChangeLog README TODO
28 }
29
30 pkg_postinst() {
31 elog 'To use snarf with portage, try these settings in your make.conf'
32 elog
33 elog ' FETCHCOMMAND="/usr/bin/snarf -b \${URI} \${DISTDIR}/\${FILE}"'
34 elog ' RESUMECOMMAND="/usr/bin/snarf -rb \${URI} \${DISTDIR}/\${FILE}"'
35 }

  ViewVC Help
Powered by ViewVC 1.1.20