diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-10-03 07:24:19 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-10-03 07:24:54 +0200 |
commit | 82072ec8ee3981612343a7acbf54765e7a63abf6 (patch) | |
tree | 3c42b19e70496461e6f28acd83632cba46c52016 /net-libs/libsmi/libsmi-0.5.0.ebuild | |
parent | dev-util/android-studio: Drop old (diff) | |
download | gentoo-82072ec8ee3981612343a7acbf54765e7a63abf6.tar.gz gentoo-82072ec8ee3981612343a7acbf54765e7a63abf6.tar.bz2 gentoo-82072ec8ee3981612343a7acbf54765e7a63abf6.zip |
net-libs/libsmi: Version bump.
Package-Manager: portage-2.2.22
Diffstat (limited to 'net-libs/libsmi/libsmi-0.5.0.ebuild')
-rw-r--r-- | net-libs/libsmi/libsmi-0.5.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-libs/libsmi/libsmi-0.5.0.ebuild b/net-libs/libsmi/libsmi-0.5.0.ebuild new file mode 100644 index 000000000000..3aa6d62496cd --- /dev/null +++ b/net-libs/libsmi/libsmi-0.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="A Library to Access SMI MIB Information" +HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/libsmi" +SRC_URI="${HOMEPAGE}/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="static-libs" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_test() { + # sming test is known to fail and some other fail if LC_ALL!=C: + # http://mail.ibr.cs.tu-bs.de/pipermail/libsmi/2008-March/001014.html + sed -i '/^[[:space:]]*smidump-sming.test \\$/d' test/Makefile + LC_ALL=C emake -j1 check || die +} + +src_install () { + default + dodoc smi.conf-example ANNOUNCE ChangeLog README THANKS TODO \ + doc/{*.txt,smi.dia,smi.dtd,smi.xsd} + prune_libtool_files +} |