summaryrefslogtreecommitdiff
blob: c44fabb4c10aeaccd035e012b1594fa550ec8f02 (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://live.polito.it/var/git/netembryo.git"
EGIT_BOOTSTRAP="eautoreconf"

DESCRIPTION="Network abstraction library"
HOMEPAGE="http://live.polito.it/documentation/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
}