/[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.5 - (show annotations) (download)
Mon Oct 20 22:00:07 2003 UTC (16 years, 3 months ago) by taviso
Branch: MAIN
Changes since 1.4: +2 -2 lines
works fine with parallel build, s/make/emake/

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

  ViewVC Help
Powered by ViewVC 1.1.20