/[gentoo-x86]/net-misc/mirror/mirror-2.9.ebuild
Gentoo

Contents of /net-misc/mirror/mirror-2.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Aug 18 16:59:41 2006 UTC (13 years, 5 months ago) by phreak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
net-misc/mirror removal (pending 15th Aug 2006), see bug #138404 for reference.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/mirror/mirror-2.9.ebuild,v 1.5 2004/07/15 03:03:58 agriffis Exp $
4
5 inherit eutils
6
7 DESCRIPTION="FTP mirror utility"
8 HOMEPAGE="http://sunsite.org.uk/packages/mirror/"
9 SRC_URI="ftp://sunsite.org.uk/packages/mirror/${P}.tar.gz"
10 LICENSE="BSD"
11 SLOT="0"
12 KEYWORDS="~x86 alpha ~sparc ~ppc"
13 IUSE=""
14
15 S=${WORKDIR}
16
17 DEPEND="dev-lang/perl"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 epatch ${FILESDIR}/${PF}-gentoo.diff
23 }
24
25 src_compile() {
26 perl install.pl here <<EOC || die "perl install.pl here failed"
27 /usr/bin/perl
28 ${S}
29 ${S}
30 EOC
31 }
32
33 src_install() {
34 dodir /etc/mirror
35 insinto /etc/mirror
36 doins mirror.defaults packages/sunsite.org.uk
37 dodir /usr/lib/${P}
38 insinto /usr/lib/${P}
39 doins dateconv.pl ftp.pl lchat.pl lsparse.pl socket.ph
40 dobin mirror mm pkgs_to_mmin prune_logs do_unlinks
41 dohtml *.html
42 dodoc *.txt
43 newman mirror.man mirror.1
44 newman mm.man mm.1
45
46 einfo
47 einfo "Defaults and sample config are in /etc/mirror."
48 einfo
49 }

  ViewVC Help
Powered by ViewVC 1.1.20