diff options
Diffstat (limited to 'dev-libs/vrb/vrb-0.5.1.ebuild')
-rw-r--r-- | dev-libs/vrb/vrb-0.5.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/vrb/vrb-0.5.1.ebuild b/dev-libs/vrb/vrb-0.5.1.ebuild new file mode 100644 index 000000000000..79ba5658db9b --- /dev/null +++ b/dev-libs/vrb/vrb-0.5.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/vrb/vrb-0.5.1.ebuild,v 1.1 2007/03/09 20:08:15 anant Exp $ + +inherit eutils + +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="~x86" +IUSE="static" +RESTRICT="nostrip" + +DEPEND="virtual/libc" + +src_compile() { + epatch ${FILESDIR}/${P}-configure.patch + + ./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 +} |