summaryrefslogtreecommitdiff
blob: e07a408b165b876b8cf1bd5c658ec72ed709ec96 (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 autotools

EGIT_REPO_URI="git://git.lscube.org/netembryo.git"
EGIT_BOOTSTRAP="eautoreconf"

DESCRIPTION="Network abstraction library"
HOMEPAGE="http://lscube.org/projects/netembryo"
LICENSE="LGPL-2.1"
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
}