diff options
author | 2015-05-01 14:06:33 +0000 | |
---|---|---|
committer | 2015-05-01 14:06:33 +0000 | |
commit | 51662046cbc62da917b0509430de00d74cf39dac (patch) | |
tree | ba65292a3597c7fea136352bc403afbea114f62c /sys-cluster | |
parent | Add missing gnome-common dependency, bug #547902. (diff) | |
download | gentoo-2-51662046cbc62da917b0509430de00d74cf39dac.tar.gz gentoo-2-51662046cbc62da917b0509430de00d74cf39dac.tar.bz2 gentoo-2-51662046cbc62da917b0509430de00d74cf39dac.zip |
Bump to 1.13.2, thanks to slepnoga
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/ploop/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/ploop/ploop-1.13.2.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/sys-cluster/ploop/ChangeLog b/sys-cluster/ploop/ChangeLog index 92e72d0ac2c3..5a16e0d38855 100644 --- a/sys-cluster/ploop/ChangeLog +++ b/sys-cluster/ploop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/ploop # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.35 2015/04/23 13:15:29 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ChangeLog,v 1.36 2015/05/01 14:06:33 maksbotan Exp $ + +*ploop-1.13.2 (01 May 2015) + + 01 May 2015; Maxim Koltsov <maksbotan@gentoo.org> +ploop-1.13.2.ebuild: + Bump to 1.13.2, thanks to slepnoga 23 Apr 2015; Maxim Koltsov <maksbotan@gentoo.org> -ploop-1.11.ebuild: Clean old versions, thanks to Andreis Vinogradovs diff --git a/sys-cluster/ploop/ploop-1.13.2.ebuild b/sys-cluster/ploop/ploop-1.13.2.ebuild new file mode 100644 index 000000000000..10ea4e3432b2 --- /dev/null +++ b/sys-cluster/ploop/ploop-1.13.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ploop/ploop-1.13.2.ebuild,v 1.1 2015/05/01 14:06:33 maksbotan Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs multilib systemd + +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="~amd64 ~x86" +IUSE="debug static-libs" + +DEPEND=" + dev-libs/libxml2 + virtual/pkgconfig + " + +RDEPEND="dev-libs/libxml2 + !<sys-cluster/vzctl-4.8 + sys-block/parted + sys-fs/e2fsprogs + sys-process/lsof + sys-apps/findutils + " + +DOCS=( tools/README ) + +src_prepare() { + # Respect CFLAGS and CC, do not add debug by default + sed -i \ + -e 's|CFLAGS =|CFLAGS +=|' \ + -e '/CFLAGS/s/-g -O0 //' \ + -e '/CFLAGS/s/-O2//' \ + -e 's|CC=|CC?=|' \ + -e 's/-Werror//' \ + -e '/DEBUG=yes/d' \ + -e '/LOCKDIR/s/var/run/' \ + Makefile.inc || die 'sed on Makefile.inc failed' + # Avoid striping of binaries + sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die 'sed on tools/Makefile failed' + + # respect AR and RANLIB, bug #452092 + tc-export AR RANLIB + sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed' +} + +src_compile() { + emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '') +} + +src_install() { + default + ldconfig -n "${D}/usr/$(get_libdir)/" || die +} |