/[gentoo-x86]/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild
Gentoo

Contents of /net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Aug 6 07:15:09 2015 UTC (4 years, 4 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Stable for x86, wrt bug #550584

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/lksctp-tools/lksctp-tools-1.0.16.ebuild,v 1.6 2015/08/03 10:59:42 ago Exp $
4
5 EAPI=5
6
7 inherit eutils multilib flag-o-matic autotools autotools-utils
8
9 DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation"
10 HOMEPAGE="http://lksctp.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/lksctp/${P}.tar.gz"
12
13 LICENSE="|| ( GPL-2+ LGPL-2.1 )"
14 SLOT="0"
15 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
16 IUSE="kernel_linux static-libs"
17
18 # This is only supposed to work with Linux to begin with.
19 DEPEND=">=sys-kernel/linux-headers-2.6"
20 RDEPEND=""
21
22 REQUIRED_USE="kernel_linux"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${PN}-1.0.8-prefix.patch #181602
26 eautoreconf
27 }
28
29 src_configure() {
30 append-flags -fno-strict-aliasing
31
32 autotools-utils_src_configure
33 }
34
35 DOCS=( AUTHORS ChangeLog INSTALL NEWS README ROADMAP )
36
37 src_install() {
38 autotools-utils_src_install
39
40 dodoc doc/*txt
41 newdoc src/withsctp/README README.withsctp
42
43 # Don't install static library or libtool file, since this is used
44 # only as preloadable library.
45 use static-libs && rm "${D}"/usr/$(get_libdir)/${PN}/*.a
46 }

  ViewVC Help
Powered by ViewVC 1.1.20