mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/vrb: Clean up old.
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST vrb-0.3.0.tar.gz 30228 SHA256 982a7b0c49db88b61a2ebd7fd442d691548a5ab7e3cacd90431a045c314ed99c SHA512 7a79497a1497afb72c02c404fe628042bfc39ded06ec92d6d835948aaa3d9ee7a595e3e0a379515d2ebb498422f9a9c493853a75831180892e8e9070d6bb2f95 WHIRLPOOL 62cdac11c824b93627061c23c20cc88e040a36a646c8e305ed7647f0584a1cc1d33ed660a9e9447ec6e3737a60ef579c2e0fe3fa1c120018f32524cbd9b2c0a5
|
||||
DIST vrb-0.5.1.tar.bz2 41106 SHA256 d579ed1998ef2d78e2ef8481a748d26e1fa12cdda806d2e31d8ec66ffb0e289f SHA512 0db418e659d4c7cfc38ed5774345d204a87ca72525ea1d86e15ee3a09ff66828df1c110e2c84336fc8789a94b3e05eda1a2c4881799e511a7f75b728e2bc0734 WHIRLPOOL 2033b40a2875dc374ba82188cb8ec98f1bfd26eaa2ed151f561537868f696bc7b509c8388f1ce6802b9a9ef4b689041a4d6391248363a1f7f672e6b9a3c25df4
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="library for a virtual ring buffer"
|
||||
HOMEPAGE="http://phil.ipal.org/freeware/vrb/"
|
||||
SRC_URI="http://phil.ipal.org/freeware/vrb/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 sparc"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
src_compile() {
|
||||
#respecting CFLAGS and LDFLAGS
|
||||
sed -i "s/copts=\"-pipe -O2\"/copts=\"${CFLAGS} ${LDFLAGS}\"/g" Configure
|
||||
sed -i "s/gcc -v/\${CC} \${COPTS}/g" Configure
|
||||
|
||||
#respecting CC
|
||||
sed -i "s/gcc/\${CC}/g" Configure
|
||||
|
||||
#omiting -Werror
|
||||
sed -i "s/-Werror//g" Configure
|
||||
|
||||
CC="$(tc-getCC)" ./Configure \
|
||||
--prefix=/usr || die "./Configure failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include/libvrb/
|
||||
doins include/vrb.h
|
||||
|
||||
dolib.so lib/libvrb.so.0.3.0
|
||||
|
||||
dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so.0.3
|
||||
dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so.0
|
||||
dosym libvrb.so.0.3.0 /usr/$(get_libdir)/libvrb.so
|
||||
|
||||
dobin bin/iobuffer
|
||||
|
||||
dodoc README
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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="~sparc ~x86"
|
||||
IUSE="static"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
epatch "${FILESDIR}"/${P}-configure.patch
|
||||
|
||||
CC="$(tc-getCC)" ./configure --prefix=/usr || die "Configure failed!"
|
||||
make || die "Make failed!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include
|
||||
doins build/include/vrb.h
|
||||
|
||||
mkdir "${D}"usr/lib
|
||||
|
||||
if use static ; then
|
||||
cp build/lib/libvrb.a* "${D}"usr/lib/
|
||||
fi
|
||||
|
||||
cp build/lib/libvrb.so* "${D}"usr/lib/
|
||||
|
||||
dobin build/bin/vbuf
|
||||
|
||||
dodoc README
|
||||
doman vrb/man/man3/*.3
|
||||
}
|
||||
Reference in New Issue
Block a user