diff options
-rw-r--r-- | sys-block/vblade/ChangeLog | 7 | ||||
-rw-r--r-- | sys-block/vblade/vblade-20.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/sys-block/vblade/ChangeLog b/sys-block/vblade/ChangeLog index 82e5697e1fcc..ec72c3cce5ca 100644 --- a/sys-block/vblade/ChangeLog +++ b/sys-block/vblade/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-block/vblade # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/vblade/ChangeLog,v 1.27 2011/07/17 11:07:07 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/vblade/ChangeLog,v 1.28 2011/09/15 07:56:37 radhermit Exp $ + +*vblade-20 (15 Sep 2011) + + 15 Sep 2011; Tim Harder <radhermit@gentoo.org> +vblade-20.ebuild: + Version bump. Update to EAPI 4 and respect LDFLAGS (bug #336230). 17 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> vblade-19.ebuild: ppc/ppc64 stable wrt #366539 diff --git a/sys-block/vblade/vblade-20.ebuild b/sys-block/vblade/vblade-20.ebuild new file mode 100644 index 000000000000..6a3b82206559 --- /dev/null +++ b/sys-block/vblade/vblade-20.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/vblade/vblade-20.ebuild,v 1.1 2011/09/15 07:56:37 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="vblade exports a block device using AoE" +HOMEPAGE="http://sf.net/projects/aoetools/" +SRC_URI="mirror://sourceforge/aoetools/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="sys-apps/util-linux" + +src_prepare() { + sed -i -e 's,^CFLAGS.*,CFLAGS += -Wall,' \ + -e 's:-o vblade:${LDFLAGS} \0:' \ + makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dosbin vblade + dosbin "${FILESDIR}"/vbladed + doman vblade.8 + dodoc HACKING NEWS README + newconfd "${FILESDIR}"/conf.d-vblade vblade + newinitd "${FILESDIR}"/init.d-vblade.vblade0 vblade.vblade0 +} |