# Copyright 2002 Johannes Findeisen # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/vrb/vrb-0.3.0.ebuild,v 1.6 2003/03/01 04:58:43 vapier Exp $ 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" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="x86 sparc" 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" make || die "emake failed" } src_install() { 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 README }