summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/vrb')
-rw-r--r--dev-libs/vrb/ChangeLog8
-rw-r--r--dev-libs/vrb/files/digest-vrb-0.5.13
-rw-r--r--dev-libs/vrb/files/vrb-0.5.1-configure.patch31
-rw-r--r--dev-libs/vrb/vrb-0.5.1.ebuild42
4 files changed, 83 insertions, 1 deletions
diff --git a/dev-libs/vrb/ChangeLog b/dev-libs/vrb/ChangeLog
index 685100db92cc..e41a91fb06ab 100644
--- a/dev-libs/vrb/ChangeLog
+++ b/dev-libs/vrb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/vrb
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/vrb/ChangeLog,v 1.7 2007/02/22 01:15:03 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/vrb/ChangeLog,v 1.8 2007/03/09 20:08:15 anant Exp $
+
+*vrb-0.5.1 (08 Mar 2007)
+
+ 08 Mar 2007; <anant@gentoo.org> +files/vrb-0.5.1-configure.patch,
+ +vrb-0.5.1.ebuild:
+ vBump to 0.5.1, closes bug #167389
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-libs/vrb/files/digest-vrb-0.5.1 b/dev-libs/vrb/files/digest-vrb-0.5.1
new file mode 100644
index 000000000000..70e604d345cb
--- /dev/null
+++ b/dev-libs/vrb/files/digest-vrb-0.5.1
@@ -0,0 +1,3 @@
+MD5 346914bd6d963d1ef06e075ee21d689e vrb-0.5.1.tar.bz2 41106
+RMD160 0676201fe5391f7c19bc6874c9fc792f2279df09 vrb-0.5.1.tar.bz2 41106
+SHA256 d579ed1998ef2d78e2ef8481a748d26e1fa12cdda806d2e31d8ec66ffb0e289f vrb-0.5.1.tar.bz2 41106
diff --git a/dev-libs/vrb/files/vrb-0.5.1-configure.patch b/dev-libs/vrb/files/vrb-0.5.1-configure.patch
new file mode 100644
index 000000000000..c1bf5ddebdef
--- /dev/null
+++ b/dev-libs/vrb/files/vrb-0.5.1-configure.patch
@@ -0,0 +1,31 @@
+--- configure.old 2007-03-08 21:38:59.000000000 +0530
++++ configure 2007-03-08 21:42:37.000000000 +0530
+@@ -341,8 +341,8 @@
+ pgm_warn=( "${pgm_warn[@]}" -Winline )
+ fi
+
+-lib_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables )
+-pgm_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -fgnu-linker -frerun-loop-opt -finline -finline-functions -fmove-all-movables )
++lib_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -frerun-loop-opt -finline -finline-functions )
++pgm_feat=( -fomit-frame-pointer -funsigned-char -funsigned-bitfields -frerun-loop-opt -finline -finline-functions )
+
+ lib_cp_opt=( -pipe )
+ pgm_cp_opt=( -pipe )
+@@ -1268,7 +1268,7 @@
+ class_product_src lib "${libname}" | while read srcname; do
+ vmsg 9 "Generating Makefile section: lib ${libname} ${srcname}"
+ srcdir=$( dirname "${srcname}" )
+- srcref="-I ${srcdir} -I ${source}/include -I- -I ./include ${srcname}"
++ srcref="-iquote ${srcdir} -iquote ${source}/include -I ./include ${srcname}"
+ objname=$( echo "${srcname}" | gawk -F/ '{print $NF;}' | gawk -F. 'BEGIN{OFS=".";}{$NF="o";print $0;}' )
+ for lc in arlib solib; do
+ [[ "${lc}" = "arlib" ]] && libfeat=( -DARLIBRARY=1 )
+@@ -1398,7 +1398,7 @@
+ class_product_src "${pgmclass}" "${pgmname}" | while read srcname; do
+ vmsg 9 "Generating Makefile section: ${pgmclass} ${pgmname} ${srcname}"
+ srcdir=$( dirname "${srcname}" )
+- srcref="-I ${srcdir} -I ${source}/include -I- -I ./include ${srcname}"
++ srcref="-iquote ${srcdir} -iquote ${source}/include -I ./include ${srcname}"
+ objname=$( echo "${srcname}" | gawk -F/ '{print $NF;}' | gawk -F. 'BEGIN{OFS=".";}{$NF="o";print $0;}' )
+ echo "obj/${pgmclass}/${pgmname}/${objname}: ${srcname}"
+ if [[ -n "${asm}" ]]; then
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
+}