/[gentoo-x86]/net-misc/fmirror/fmirror-0.8.4-r2.ebuild
Gentoo

Contents of /net-misc/fmirror/fmirror-0.8.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Jan 18 18:45:42 2008 UTC (12 years, 1 month ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +14 -13 lines
Remove old, x86 stable, fix HOMEPAGE/SRC_URI, bug #202463
(Portage version: 2.1.4)

1 armin76 1.2 # Copyright 1999-2008 Gentoo Foundation
2 antarus 1.1 # Distributed under the terms of the GNU General Public License v2
3 armin76 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/fmirror/fmirror-0.8.4-r2.ebuild,v 1.1 2007/01/25 07:08:57 antarus Exp $
4 antarus 1.1
5 armin76 1.2 inherit eutils flag-o-matic toolchain-funcs
6 antarus 1.1
7     DESCRIPTION="FTP mirror utility"
8 armin76 1.2 HOMEPAGE="http://linux.maruhn.com/sec/fmirror.html"
9     SRC_URI="http://www.ibiblio.org/pub/solaris/freeware/SOURCES/${P}.tar.gz"
10 antarus 1.1 LICENSE="GPL-2"
11     SLOT="0"
12 armin76 1.2 KEYWORDS="~amd64 ~ppc ~sparc x86"
13 antarus 1.1 IUSE=""
14    
15     RDEPEND=""
16     DEPEND=""
17    
18     src_unpack() {
19 armin76 1.2 unpack ${A}
20     cd "${S}"
21    
22     epatch "${FILESDIR}"/${PN}-crlf.patch
23 antarus 1.1 }
24    
25     src_compile() {
26     append-flags "-D_FILE_OFFSET_BITS=64" # large file support bug # 123964
27 armin76 1.2
28 antarus 1.1 econf \
29 armin76 1.2 --datadir=/etc/fmirror || die "econf failed"
30 antarus 1.1
31 armin76 1.2 emake CC="$(tc-getCC)" || die "emake failed"
32 antarus 1.1 }
33    
34     src_install() {
35     dobin fmirror
36 armin76 1.2 dodoc ChangeLog README
37 antarus 1.1 newdoc configs/README README.sample
38     doman fmirror.1
39    
40     cd configs
41     insinto /etc/fmirror/sample
42     doins {sample,generic,redhat}.conf
43     }

  ViewVC Help
Powered by ViewVC 1.1.20