diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-09-10 17:27:58 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-09-10 17:29:40 +0200 |
commit | 52441593c9d16bfdd40558b8b00fee44bf65a294 (patch) | |
tree | bcc6fa27660664a61eb54f6c837848cd93b47f48 | |
parent | app-emulation/crossover: Bump to 15.2.0 (diff) | |
download | gentoo-52441593c9d16bfdd40558b8b00fee44bf65a294.tar.gz gentoo-52441593c9d16bfdd40558b8b00fee44bf65a294.tar.bz2 gentoo-52441593c9d16bfdd40558b8b00fee44bf65a294.zip |
dev-libs/vrb: EAPI 6 bump.
Package-Manager: portage-2.2.28
-rw-r--r-- | dev-libs/vrb/vrb-0.5.1-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
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 000000000000..86693d999d93 --- /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 +} |