summaryrefslogtreecommitdiff
blob: 19cbf4824fac57060a181e375d02508218c77d6a (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git eutils

EGIT_REPO_URI="git://live.polito.it/var/git/netembryo.git"
EGIT_BOOTSTRAP="NOCONFIGURE=1 ./autogen.sh"

DESCRIPTION="Network abstraction library"
HOMEPAGE="http://streaming.polito.it/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
IUSE="sctp"

RDEPEND="sctp? ( net-misc/lksctp-tools )"
DEPEND="${RDEPEND}"

src_compile() {
	econf $(use_enable sctp) || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
	dodoc README
	dodoc ChangeLog
}