# Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Johannes Findeisen # S="${WORKDIR}/${P}" DESCRIPTION="The VRB library is a virtual ring buffer" SRC_URI="http://phil.ipal.org/freeware/vrb/${P}.tar.gz" HOMEPAGE="http://phil.ipal.org/freeware/vrb/" LICENSE="LGPL-2.1" DEPEND="virtual/glibc" src_compile() { sed -e "s/copts=\"-pipe -O2\"/copts=\"${CFLAGS}\"/g" < Configure > Configure.hacked cp Configure.hacked Configure ./Configure \ --prefix=/usr || die "./Configure failed" emake || die "emake failed" } src_install () { diropts -m 755 dodir /usr/include/vrb/ insopts -o root -m 644 insinto /usr/include/libvrb/ doins include/vrb.h dolib.so lib/libvrb.so.0.3.0 dosym /usr/lib/libvrb.so.0.3.0 /usr/lib/libvrb.so.0.3 dosym /usr/lib/libvrb.so.0.3.0 /usr/lib/libvrb.so.0 dosym /usr/lib/libvrb.so.0.3.0 /usr/lib/libvrb.so dobin bin/iobuffer dodoc INSTALL LICENSE README }