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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Mon Mar 15 16:12:16 2004 UTC (15 years, 10 months ago) by taviso
Branch: MAIN
Changes since 1.6: +4 -2 lines
inherit eutils

1 taviso 1.7 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 taviso 1.1 # Distributed under the terms of the GNU General Public License v2
3 taviso 1.7 # $Header: /home/cvsroot/gentoo-x86/net-misc/snarf/snarf-7.0-r2.ebuild,v 1.6 2003/10/24 22:10:09 taviso Exp $
4    
5     inherit eutils
6 taviso 1.1
7     S=${WORKDIR}/${P}
8     DESCRIPTION="A full featured small web-spider"
9     SRC_URI="http://www.xach.com/snarf/${P}.tar.gz"
10     HOMEPAGE="http://www.xach.com/snarf/"
11 taviso 1.3 KEYWORDS="x86 alpha"
12 taviso 1.1 LICENSE="GPL-2"
13     SLOT="0"
14    
15 taviso 1.6 DEPEND="virtual/glibc"
16 taviso 1.1
17     src_unpack() {
18     unpack ${A}
19     epatch ${FILESDIR}/snarf-basename-patch.diff
20     epatch ${FILESDIR}/snarf-unlink-empty.diff
21     }
22    
23 msterret 1.2 src_install() {
24 taviso 1.1 dobin snarf
25     doman snarf.1
26     dodoc COPYING ChangeLog README TODO
27     }
28 taviso 1.4
29     pkg_postinst() {
30     einfo 'To use snarf with portage, try these settings in your make.conf'
31     einfo
32     einfo ' FETCHCOMMAND="/usr/bin/snarf -b \${URI} \${DISTDIR}/\${FILE}"'
33     einfo ' RESUMECOMMAND="/usr/bin/snarf -rb \${URI} \${DISTDIR}/\${FILE}"'
34     }

  ViewVC Help
Powered by ViewVC 1.1.20