mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/vrb: EAPI 6 bump.
Package-Manager: portage-2.2.28
This commit is contained in:
48
dev-libs/vrb/vrb-0.5.1-r1.ebuild
Normal file
48
dev-libs/vrb/vrb-0.5.1-r1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user