# Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: 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_unpack() { unpack "${P}.tar.gz" } src_compile() { cd ${S} # hmmm, why is the script called "C"onfigure??? ./Configure \ --prefix=/usr || die "./Configure failed" emake || die "emake failed" } src_install () { # This installation is hacked a little. make install wouldn't work so # i have made a "step-by-step" installation. cd ${S} 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 }