/[gentoo-x86]/sys-cluster/fake/fake-1.1.10.ebuild
Gentoo

Contents of /sys-cluster/fake/fake-1.1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Nov 18 18:49:18 2012 UTC (23 months ago) by ago
Branch: MAIN
Changes since 1.6: +3 -3 lines
Add ~amd64

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/fake/fake-1.1.10.ebuild,v 1.6 2010/09/27 11:26:55 cla Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Fake has been designed to switch in backup servers on a LAN."
8 SRC_URI="http://www.vergenet.net/linux/${PN}/download/${PV}/${P}.tar.gz"
9 HOMEPAGE="http://www.vergenet.net/linux/fake/"
10
11 SLOT="0"
12 KEYWORDS="~amd64 x86"
13 LICENSE="GPL-2"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND="${DEPEND}"
18
19 src_unpack(){
20 unpack ${A}
21 cd "${S}"
22 epatch "${FILESDIR}/fix-ldflags.patch"
23 }
24
25 src_compile(){
26 make patch || die "patching failed"
27 emake || die "make failed"
28 }
29
30 src_install(){
31 emake \
32 ROOT_DIR="${D}" \
33 MAN8_DIR="${D}/usr/share/man/man8" \
34 DOC_DIR="${D}/usr/share/doc/${P}" \
35 install || die "install failed"
36 dodoc AUTHORS ChangeLog README docs/*
37 }

  ViewVC Help
Powered by ViewVC 1.1.20