From 56ad320e04a4b0c61161710603063208d7c74cad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 5 May 2009 01:09:37 +0000 Subject: Version bump. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- sys-block/nbd/ChangeLog | 9 +++++++-- sys-block/nbd/nbd-2.9.12.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 sys-block/nbd/nbd-2.9.12.ebuild (limited to 'sys-block') diff --git a/sys-block/nbd/ChangeLog b/sys-block/nbd/ChangeLog index 2edbf43e4825..bc2e6753a68b 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.39 2008/05/05 13:27:52 vapier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/ChangeLog,v 1.40 2009/05/05 01:09:37 vapier Exp $ + +*nbd-2.9.12 (05 May 2009) + + 05 May 2009; Mike Frysinger +nbd-2.9.12.ebuild: + Version bump. 05 May 2008; Mike Frysinger nbd-2.9.8.ebuild, nbd-2.9.10.ebuild, nbd-2.9.11.ebuild: diff --git a/sys-block/nbd/nbd-2.9.12.ebuild b/sys-block/nbd/nbd-2.9.12.ebuild new file mode 100644 index 000000000000..1f2a0a24b90c --- /dev/null +++ b/sys-block/nbd/nbd-2.9.12.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-2.9.12.ebuild,v 1.1 2009/05/05 01:09:37 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 + sed -i 's:/usr/bin/klcc:/suck/it/k/l/c/c:g' configure || die + + 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 \ + || die + emake || die + emake -C gznbd || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dobin gznbd/gznbd || die + dodoc README +} -- cgit v1.2.3-65-gdbad