/[gentoo-x86]/net-libs/libsmi/libsmi-0.4.8-r1.ebuild
Gentoo

Contents of /net-libs/libsmi/libsmi-0.4.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Mon Sep 3 19:51:16 2012 UTC (23 months, 3 weeks ago) by blueness
Branch: MAIN
Changes since 1.8: +3 -3 lines
Stable arm, bug #433263

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 blueness 1.9 # Copyright 1999-2012 Gentoo Foundation
2 jer 1.1 # Distributed under the terms of the GNU General Public License v2
3 blueness 1.9 # $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/libsmi-0.4.8-r1.ebuild,v 1.8 2010/10/30 16:15:54 armin76 Exp $
4 jer 1.1
5     EAPI="2"
6    
7     inherit eutils flag-o-matic
8    
9     DESCRIPTION="A Library to Access SMI MIB Information"
10     SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz"
11     HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/libsmi"
12    
13     LICENSE="BSD"
14     SLOT="0"
15 blueness 1.9 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
16 jer 1.1 IUSE=""
17    
18     src_prepare() {
19     epatch "${FILESDIR}"/${P}-CVE-2010-2891.patch
20     }
21    
22     src_configure() {
23     replace-flags -O? -O2
24     econf
25     }
26    
27     src_test() {
28     # sming test is known to fail and some other fail if LC_ALL!=C:
29     # http://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2008-March/001014.html
30     sed -i '/^[[:space:]]*smidump-sming.test \\$/d' test/Makefile
31     LC_ALL=C emake -j1 check || die "Make check failed. See above for details."
32     }
33    
34     src_install () {
35     emake DESTDIR="${D}" install || die
36     dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO \
37     doc/{*.txt,smi.dia,smi.dtd,smi.xsd}
38     }

  ViewVC Help
Powered by ViewVC 1.1.20