summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-05 03:24:17 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-05 03:24:17 +0000
commiteba2753df91bd6810209cc145351432d426d588c (patch)
tree304e1710d5e7a967eaaa7e723c35eb20425496e9 /sys-block/nbd
parentold (diff)
downloadgentoo-2-eba2753df91bd6810209cc145351432d426d588c.tar.gz
gentoo-2-eba2753df91bd6810209cc145351432d426d588c.tar.bz2
gentoo-2-eba2753df91bd6810209cc145351432d426d588c.zip
Version bump.
(Portage version: 2.2_pre5)
Diffstat (limited to 'sys-block/nbd')
-rw-r--r--sys-block/nbd/ChangeLog7
-rw-r--r--sys-block/nbd/nbd-2.9.11.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog
index 1bb0605596f9..c0c8319cb1e8 100644
--- a/sys-block/nbd/ChangeLog
+++ b/sys-block/nbd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-block/nbd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.37 2008/05/05 03:23:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.38 2008/05/05 03:24:17 vapier Exp $
+
+*nbd-2.9.11 (05 May 2008)
+
+ 05 May 2008; Mike Frysinger <vapier@gentoo.org> +nbd-2.9.11.ebuild:
+ Version bump.
05 May 2008; Mike Frysinger <vapier@gentoo.org>
nbd-2.9.8.ebuild, nbd-2.9.10.ebuild:
diff --git a/sys-block/nbd/nbd-2.9.11.ebuild b/sys-block/nbd/nbd-2.9.11.ebuild
new file mode 100644
index 000000000000..e4c4b630256d
--- /dev/null
+++ b/sys-block/nbd/nbd-2.9.11.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.11.ebuild,v 1.1 2008/05/05 03:24:17 vapier Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Userland client/server for kernel network block device"
+HOMEPAGE="http://nbd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2
+ mirror://gentoo/nbd-linux-include.h.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.9.1-headers.patch
+
+ mkdir -p "${S}"/inc-after/linux
+ mv "${WORKDIR}"/nbd-linux-include.h "${S}"/inc-after/linux/nbd.h
+ append-flags -idirafter "${S}"/inc-after
+}
+
+src_compile() {
+ econf \
+ --enable-lfs \
+ --enable-syslog \
+ --without-klcc \
+ || die
+ emake || die
+ emake -C gznbd || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dobin gznbd/gznbd || die
+ dodoc README
+}