/[gentoo-x86]/dev-libs/libdnet/libdnet-1.11-r1.ebuild
Gentoo

Contents of /dev-libs/libdnet/libdnet-1.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Oct 10 18:17:08 2012 UTC (5 years, 8 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
With RESTRICT=test it is useful to know about the dependency, but it need not be set. Remove useless trunk/ subdir.

(Portage version: 2.2.0_alpha136/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/dev-libs/libdnet/libdnet-1.11-r1.ebuild,v 1.11 2010/07/19 21:35:59 maekke Exp $
4
5 #WANT_AUTOMAKE=1.6
6 inherit eutils autotools
7
8 DESCRIPTION="simplified, portable interface to several low-level networking routines"
9 HOMEPAGE="http://libdnet.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/libdnet/${P}.tar.gz"
11
12 LICENSE="LGPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
15 IUSE="python"
16
17 src_unpack() {
18 unpack ${A}
19 cd "${S}"
20 sed -i 's/suite_free(s);//' test/check/*.c || die "sed failed"
21 epatch "${FILESDIR}"/${PN}-1.10-gcc4.diff
22 AT_M4DIR="config"
23 eautoreconf
24 }
25
26 src_compile () {
27 econf $(use_with python) || die "econf failed"
28 emake || die "emake failed"
29 }
30
31 src_test() {
32 einfo "self test fails with permission problems"
33 }
34
35 src_install () {
36 emake DESTDIR="${D}" install || die "make install failed"
37 dodoc README THANKS TODO
38 }

  ViewVC Help
Powered by ViewVC 1.1.20