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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Aug 29 15:40:21 2011 UTC (8 years, 3 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump: disable strict aliasing until upstream fixes it; add static-libs USE flag.

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

1 # Copyright 1999-2010 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.11.ebuild,v 1.1 2010/06/01 00:10:30 flameeyes Exp $
4
5 inherit eutils multilib
6
7 DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation"
8 HOMEPAGE="http://lksctp.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/lksctp/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
14 IUSE=""
15
16 # This is only supposed to work with Linux to begin with.
17 DEPEND=">=sys-kernel/linux-headers-2.6"
18 RDEPEND=""
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}"/${PN}-1.0.8-prefix.patch #181602
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" install || die
28 dodoc AUTHORS ChangeLog INSTALL NEWS README ROADMAP doc/*txt || die
29
30 newdoc src/withsctp/README README.withsctp || die
31
32 # Don't install static library or libtool file, since this is used
33 # only as preloadable library.
34 rm "${D}"/usr/$(get_libdir)/${PN}/*.a || die
35
36 find "${D}" -name '*.la' -delete || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20