summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/mbuffer/ChangeLog10
-rw-r--r--sys-block/mbuffer/files/digest-mbuffer-200507261
-rw-r--r--sys-block/mbuffer/files/mbuffer-20050726-DESTDIR.patch10
-rw-r--r--sys-block/mbuffer/mbuffer-20050726.ebuild36
4 files changed, 55 insertions, 2 deletions
diff --git a/sys-block/mbuffer/ChangeLog b/sys-block/mbuffer/ChangeLog
index d21f9f7d3249..7a6dffcdef49 100644
--- a/sys-block/mbuffer/ChangeLog
+++ b/sys-block/mbuffer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-block/mbuffer
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/ChangeLog,v 1.5 2005/07/17 13:22:26 vapier Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/ChangeLog,v 1.6 2005/07/28 22:46:33 vapier Exp $
+
+*mbuffer-20050726 (28 Jul 2005)
+
+ 28 Jul 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/mbuffer-20050726-DESTDIR.patch, +mbuffer-20050726.ebuild:
+ Version bump.
*mbuffer-20050510 (17 Jul 2005)
diff --git a/sys-block/mbuffer/files/digest-mbuffer-20050726 b/sys-block/mbuffer/files/digest-mbuffer-20050726
new file mode 100644
index 000000000000..a4fb410dbab9
--- /dev/null
+++ b/sys-block/mbuffer/files/digest-mbuffer-20050726
@@ -0,0 +1 @@
+MD5 4de8efd327c68aecf08c00aad87c6ffe mbuffer-20050726.tgz 77693
diff --git a/sys-block/mbuffer/files/mbuffer-20050726-DESTDIR.patch b/sys-block/mbuffer/files/mbuffer-20050726-DESTDIR.patch
new file mode 100644
index 000000000000..47cf1b185d09
--- /dev/null
+++ b/sys-block/mbuffer/files/mbuffer-20050726-DESTDIR.patch
@@ -0,0 +1,10 @@
+--- Makefile.in
++++ Makefile.in
+@@ -27,5 +27,6 @@
+ config.status Makefile mbuffer.1
+
+ install:
+- $(INSTALL) $(TARGET) $(bindir)
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
+
diff --git a/sys-block/mbuffer/mbuffer-20050726.ebuild b/sys-block/mbuffer/mbuffer-20050726.ebuild
new file mode 100644
index 000000000000..899999bd6bef
--- /dev/null
+++ b/sys-block/mbuffer/mbuffer-20050726.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20050726.ebuild,v 1.1 2005/07/28 22:46:33 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality"
+HOMEPAGE="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/"
+SRC_URI="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug mhash"
+
+RDEPEND="mhash? ( app-crypt/mhash )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-20050321-configure.patch
+ epatch "${FILESDIR}"/${P}-DESTDIR.patch
+}
+
+src_compile() {
+ econf \
+ $(use_enable mhash md5) \
+ $(use_enable debug) \
+ || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "install failed"
+ dodoc AUTHORS INSTALL NEWS README ChangeLog
+}