commit:     52441593c9d16bfdd40558b8b00fee44bf65a294
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 15:27:58 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 15:29:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52441593

dev-libs/vrb: EAPI 6 bump.

Package-Manager: portage-2.2.28

 dev-libs/vrb/vrb-0.5.1-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/dev-libs/vrb/vrb-0.5.1-r1.ebuild b/dev-libs/vrb/vrb-0.5.1-r1.ebuild
new file mode 100644
index 00000000..86693d9
--- /dev/null
+++ b/dev-libs/vrb/vrb-0.5.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Library for a virtual ring buffer"
+HOMEPAGE="http://vrb.slashusr.org/";
+SRC_URI="http://vrb.slashusr.org/download/${P}.tar.bz2";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="static"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="
+       ${DEPEND}
+       sys-libs/glibc"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-configure.patch
+)
+
+DOCS=( README )
+
+src_configure() {
+       CC="$(tc-getCC)" ./configure --prefix=/usr || die "Configure failed!"
+}
+
+src_install() {
+       insinto /usr/include
+       doins build/include/vrb.h
+
+       mkdir "${D}"usr/lib || die
+
+       if use static; then
+               cp build/lib/libvrb.a* "${D}"usr/lib/ || die
+       fi
+
+       cp build/lib/libvrb.so* "${D}"usr/lib/ || die
+
+       dobin build/bin/vbuf
+       doman vrb/man/man3/*.3
+}

Reply via email to