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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20