diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2013-12-28 00:39:05 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2013-12-28 00:39:05 +0000 |
commit | e54dfa6847ebeaae0ae9314c40c153eaab683b69 (patch) | |
tree | c0306c3e2e814a088843428e779014f73cf479ec /sys-block/thin-provisioning-tools | |
parent | Spelling fixes. (diff) | |
download | gentoo-2-e54dfa6847ebeaae0ae9314c40c153eaab683b69.tar.gz gentoo-2-e54dfa6847ebeaae0ae9314c40c153eaab683b69.tar.bz2 gentoo-2-e54dfa6847ebeaae0ae9314c40c153eaab683b69.zip |
Bug #491364: Fix complie with newer boost.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sys-block/thin-provisioning-tools')
-rw-r--r-- | sys-block/thin-provisioning-tools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8-r2.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/sys-block/thin-provisioning-tools/ChangeLog b/sys-block/thin-provisioning-tools/ChangeLog index 460ff05a832f..0da3b2345b2f 100644 --- a/sys-block/thin-provisioning-tools/ChangeLog +++ b/sys-block/thin-provisioning-tools/ChangeLog @@ -1,6 +1,12 @@ # 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.32 2013/12/26 19:01:31 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.33 2013/12/28 00:39:05 robbat2 Exp $ + +*thin-provisioning-tools-0.2.8-r2 (28 Dec 2013) + + 28 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> + +thin-provisioning-tools-0.2.8-r2.ebuild: + Bug #491364: Fix complie with newer boost. 26 Dec 2013; Markus Meier <maekke@gentoo.org> thin-provisioning-tools-0.2.8-r1.ebuild: diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8-r2.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8-r2.ebuild new file mode 100644 index 000000000000..93c3ac9eff75 --- /dev/null +++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.8-r2.ebuild @@ -0,0 +1,57 @@ +# 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-r2.ebuild,v 1.1 2013/12/28 00:39:05 robbat2 Exp $ + +EAPI=5 +inherit base autotools + +DESCRIPTION="A suite of tools for thin provisioning on Linux." +HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools" +EXT=.tar.gz +BASE_A=${P}${EXT} +SRC_URI="http://github.com/jthornber/${PN}/archive/v${PV}${EXT} -> ${BASE_A} + https://github.com/denys-duchier/thin-provisioning-tools/commit/3a4c06b772bc8ca27bcf7c2d82abc46c65c23795.diff -> ${P}-boost.patch" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-libs/expat" +# || ( ) is a non-future proof workaround for Portage unefficiency wrt #477050 +DEPEND="${RDEPEND} + test? ( + || ( 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-cpp/gmock + dev-util/cucumber + dev-util/aruba + ) + dev-libs/boost" + +PATCHES=( "${DISTDIR}"/${P}-boost.patch ) + +src_unpack() { + unpack ${BASE_A} +} + +src_prepare() { + base_src_prepare + eautoreconf +} + +src_configure() { + econf \ + --prefix="${EPREFIX}"/ \ + --bindir="${EPREFIX}"/sbin \ + --with-optimisation='' \ + $(use_enable test testing) +} + +src_install() { + emake install DESTDIR="${D}" MANDIR=/usr/share/man + dodoc README.md TODO.org +} + +src_test() { + emake unit-test +} |