blob: 554b8ee0954274b7d14e27dba47af5e50d26c40c (
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
33
34
35
36
37
38
39
40
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/netembryo/netembryo-0.1.1.ebuild,v 1.1 2009/10/27 12:11:03 ssuominen Exp $
EAPI=2
inherit multilib
DESCRIPTION="a network abstraction library"
HOMEPAGE="http://lscube.org/projects/netembryo/"
SRC_URI="http://lscube.org/files/downloads/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ipv6 test"
# sctp
RDEPEND=">=dev-libs/openssl-0.9.8"
DEPEND="${RDEPEND}
dev-util/pkgconfig
test? ( >=dev-libs/glib-2.20:2
sys-apps/gawk
dev-util/ctags )"
# $(use_enable sctp)
# http://lksctp.sourceforge.net/
src_configure() {
econf \
--disable-dependency-tracking \
--disable-static \
$(use_enable ipv6) \
--disable-sctp \
$(use_enable test tests)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README TODO
find "${D}"usr/$(get_libdir) -name '*.la' -delete
}
|