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.
gentoo-overlay/net-misc/ucarp/ucarp-1.3.ebuild

28 lines
715 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-1.3.ebuild,v 1.4 2014/08/10 20:48:37 slyfox Exp $
inherit eutils
DESCRIPTION="Portable userland implementation of Common Address Redundancy Protocol (CARP)"
HOMEPAGE="http://www.ucarp.org"
LICENSE="GPL-2"
DEPEND="net-libs/libpcap"
SRC_URI="ftp://ftp.ucarp.org/pub/ucarp/${P}.tar.gz"
SLOT="0"
KEYWORDS="x86 ~amd64 ~ppc"
IUSE=""
src_compile() {
econf || die
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README INSTALL NEWS ChangeLog || die
dodoc examples/linux/vip-up.sh examples/linux/vip-down.sh
}