summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-10-20 08:08:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-10-20 08:08:24 +0000
commit0af6188bf7056814e04f62b0d048568c2d76b29c (patch)
tree9d26a0bf8c35e9b1d352e0bf6e89dbee6cef583a /sys-block
parentVersion bump. Drop mysql USE flag: not used by Gentoo itself, ruby18-only and... (diff)
downloadgentoo-2-0af6188bf7056814e04f62b0d048568c2d76b29c.tar.gz
gentoo-2-0af6188bf7056814e04f62b0d048568c2d76b29c.tar.bz2
gentoo-2-0af6188bf7056814e04f62b0d048568c2d76b29c.zip
Version bump. Use || ( ) workaround in ruby slotting for Portage unefficiency wrt #477050 by Michael Palimaka.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/thin-provisioning-tools/ChangeLog9
-rw-r--r--sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8.ebuild43
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-block/thin-provisioning-tools/ChangeLog b/sys-block/thin-provisioning-tools/ChangeLog
index dc951972740a..7a926d563e41 100644
--- a/sys-block/thin-provisioning-tools/ChangeLog
+++ b/sys-block/thin-provisioning-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-block/thin-provisioning-tools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.21 2013/10/07 13:14:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.22 2013/10/20 08:08:24 ssuominen Exp $
+
+*thin-provisioning-tools-0.2.8 (20 Oct 2013)
+
+ 20 Oct 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +thin-provisioning-tools-0.2.8.ebuild:
+ Version bump. Use || ( ) workaround in ruby slotting for Portage unefficiency
+ wrt #477050 by Michael Palimaka.
*thin-provisioning-tools-0.2.7 (07 Oct 2013)
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8.ebuild
new file mode 100644
index 000000000000..d8f5f18f1a50
--- /dev/null
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8.ebuild,v 1.1 2013/10/20 08:08:24 ssuominen Exp $
+
+EAPI=5
+inherit autotools toolchain-funcs versionator
+
+DESCRIPTION="A suite of tools for thin provisioning on Linux."
+HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
+EXT=.tar.gz
+SRC_URI="http://github.com/jthornber/${PN}/archive/v${PV}${EXT} -> ${P}${EXT}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+# || ( ) is a non-future proof workaround for Portage unefficiency wrt #477050
+RDEPEND="|| ( dev-lang/ruby:2.9 dev-lang/ruby:2.8 dev-lang/ruby:2.7 dev-lang/ruby:2.6 dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 dev-lang/ruby:2.2 dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 )
+ dev-libs/expat"
+DEPEND="${RDEPEND}
+ dev-libs/boost"
+
+pkg_pretend() {
+ [[ $(tc-getCXX) == *g++ ]] && ! version_is_at_least 4.7 $(gcc-version) && \
+ die "You need at least GNU GCC 4.7.x to build this package."
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --prefix="${EPREFIX}"/ \
+ --bindir="${EPREFIX}"/sbin \
+ --with-optimisation=''
+}
+
+src_install() {
+ emake install DESTDIR="${D}" MANDIR=/usr/share/man
+ dodoc README.md TODO.org
+}