net-libs/libsmi: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Sat, 3 Oct 2015 05:24:19 +0000 (07:24 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 3 Oct 2015 05:24:54 +0000 (07:24 +0200)
Package-Manager: portage-2.2.22

net-libs/libsmi/Manifest
net-libs/libsmi/libsmi-0.5.0.ebuild [new file with mode: 0644]

index 8d3ef932ad04cd8472b84cb416e62ff54028f14d..1ba4bfae997110a9033669a33e10fb15abc647d4 100644 (file)
@@ -1 +1,2 @@
 DIST libsmi-0.4.8.tar.gz 4104111 SHA256 f048a5270f41bc88b0c3b0a8fe70ca4d716a46b531a0ecaaa87c462f49d74849 SHA512 c4f5f30c9fbf26c2e0d87e29783794014a518a7494c17112b1970b5434c698d06ffd529ea58eb7856a0f86a30f1059aaf49d4fbdf39db971d9114d427d8a1863 WHIRLPOOL 33523c5aca6792c3ec08be748ce976046693188e61770db99c01a030b66442a387729c99196729efcd5a03c778f0263452a833a40add7173d65c4a9f51a6d842
+DIST libsmi-0.5.0.tar.gz 4798883 SHA256 f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3 SHA512 be82e6b7054426e4634ac9d90467b89a51a9c836273c9d516f07ff3cec3a8dcc8b3bb0e0396d5facec3d9c952b17fb67f24ff2d3959e7e5cf9eced72023a0708 WHIRLPOOL 13c33930981431729c5246d6f1a8a519c3985b04aa873475830dbc54ee8181eff7fa59c5cbd312633b29f2cac6c9cc74f2d922f2876aa8e461a47743e1445e3d
diff --git a/net-libs/libsmi/libsmi-0.5.0.ebuild b/net-libs/libsmi/libsmi-0.5.0.ebuild
new file mode 100644 (file)
index 0000000..3aa6d62
--- /dev/null
@@ -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
+}