summaryrefslogtreecommitdiff
blob: e8a9d330b2fd4cb86ecb5a1c5a8586f1091ed3a4 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ucarp/ucarp-0.7.ebuild,v 1.7 2006/09/17 22:26:28 xmerlin Exp $


DESCRIPTION="Portable userland implementation of Common Address Redundancy Protocol (CARP)."

HOMEPAGE="http://www.ucarp.org/"
SRC_URI="http://www.pureftpd.org/ucarp/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""

DEPEND="virtual/libpcap"

src_compile() {

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"

	emake || die "emake failed"
}

src_install() {

	make DESTDIR=${D} install-strip || die

}