/[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.1 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.1 2003/08/01 15:50:57 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() { 23src_install() {
22 econf || die
23 make || die
24}
25
26src_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}
28
29pkg_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}

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

  ViewVC Help
Powered by ViewVC 1.1.20