blob: e724e6acf8b1f0d2284fe245f37778cf76d300be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-1.5.2-r1.ebuild,v 1.3 2012/12/16 13:47:24 ago Exp $
EAPI="4"
inherit base
DESCRIPTION="Portable userland implementation of Common Address Redundancy Protocol (CARP)."
HOMEPAGE="http://www.ucarp.org"
SRC_URI="ftp://ftp.ucarp.org/pub/ucarp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE="nls"
RDEPEND="net-libs/libpcap"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
DOCS=( "README" "NEWS" "AUTHORS" "ChangeLog"
"examples/linux/vip-up.sh" "examples/linux/vip-down.sh" )
src_configure() {
econf $(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install
dodoc "${DOCS[@]}"
doman "${FILESDIR}"/ucarp.8
}
|