summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2012-07-17 05:23:08 +0000
committerPeter Volkov <pva@gentoo.org>2012-07-17 05:23:08 +0000
commit8b1cbaf938adf005bb043621ea5c4646fb78ebcb (patch)
treefd473288e29fc154a39a82f1e58a46c2258cc88c /sys-cluster
parentVersion bump (diff)
downloadgentoo-2-8b1cbaf938adf005bb043621ea5c4646fb78ebcb.tar.gz
gentoo-2-8b1cbaf938adf005bb043621ea5c4646fb78ebcb.tar.bz2
gentoo-2-8b1cbaf938adf005bb043621ea5c4646fb78ebcb.zip
Version bump. Fixed multilib issue.
(Portage version: 2.1.11.6/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/ploop/ChangeLog7
-rw-r--r--sys-cluster/ploop/ploop-1.4.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-cluster/ploop/ChangeLog b/sys-cluster/ploop/ChangeLog
index adf3f725e3ad..7a23d51c979a 100644
--- a/sys-cluster/ploop/ChangeLog
+++ b/sys-cluster/ploop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/ploop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.1 2012/05/03 22:32:24 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.2 2012/07/17 05:23:08 pva Exp $
+
+*ploop-1.4 (17 Jul 2012)
+
+ 17 Jul 2012; Peter Volkov <pva@gentoo.org> +ploop-1.4.ebuild:
+ Version bump. Fixed multilib issue.
*ploop-1.2 (03 May 2012)
diff --git a/sys-cluster/ploop/ploop-1.4.ebuild b/sys-cluster/ploop/ploop-1.4.ebuild
new file mode 100644
index 000000000000..81b2a4ff382a
--- /dev/null
+++ b/sys-cluster/ploop/ploop-1.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.4.ebuild,v 1.1 2012/07/17 05:23:08 pva Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="openvz tool and a library to control ploop block devices"
+HOMEPAGE="http://wiki.openvz.org/Download/ploop"
+SRC_URI="http://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="dev-libs/libxml2"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Respect CFLAGS and CC
+ sed -e 's|CFLAGS =|CFLAGS +=|' -e "s|\(CC=\).*|\1$(tc-getCC)|" \
+ -i Makefile.inc || die
+ # Avoid striping of binaries
+ sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die
+ epatch "${FILESDIR}/ploop-1.2-soname.patch"
+}
+
+src_compile() {
+ emake V=1
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc tools/README
+ ldconfig -n "${D}/usr/$(get_libdir)/" || die
+}