You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
774 B
39 lines
774 B
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=0
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Fake has been designed to switch in backup servers on a LAN"
|
|
SRC_URI="http://www.vergenet.net/linux/${PN}/download/${PV}/${P}.tar.gz"
|
|
HOMEPAGE="http://www.vergenet.net/linux/fake/"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 x86"
|
|
LICENSE="GPL-2"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_unpack(){
|
|
unpack ${A}
|
|
cd "${S}"
|
|
epatch "${FILESDIR}/fix-ldflags.patch"
|
|
}
|
|
|
|
src_compile(){
|
|
make patch || die "patching failed"
|
|
emake || die "make failed"
|
|
}
|
|
|
|
src_install(){
|
|
emake \
|
|
ROOT_DIR="${D}" \
|
|
MAN8_DIR="${D}/usr/share/man/man8" \
|
|
DOC_DIR="${D}/usr/share/doc/${P}" \
|
|
install || die "install failed"
|
|
dodoc AUTHORS ChangeLog README docs/*
|
|
}
|