diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-10-07 13:14:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-10-07 13:14:49 +0000 |
commit | 58abd500f46c26fe715b811a805851ede50ba22c (patch) | |
tree | b21b1671c2818c963f75346c4fef4873e0c445c2 /sys-block | |
parent | Version bump, drop old, thanks to Nikoli. Fix maintainer's email (diff) | |
download | gentoo-2-58abd500f46c26fe715b811a805851ede50ba22c.tar.gz gentoo-2-58abd500f46c26fe715b811a805851ede50ba22c.tar.bz2 gentoo-2-58abd500f46c26fe715b811a805851ede50ba22c.zip |
Version bump wrt #486144 by Manuel Rüger
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-block')
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-block/thin-provisioning-tools/ChangeLog b/sys-block/thin-provisioning-tools/ChangeLog index c67872887b06..dc951972740a 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.20 2013/08/16 05:48:22 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/ChangeLog,v 1.21 2013/10/07 13:14:49 ssuominen Exp $ + +*thin-provisioning-tools-0.2.7 (07 Oct 2013) + + 07 Oct 2013; Samuli Suominen <ssuominen@gentoo.org> + +files/thin-provisioning-tools-0.2.7-LDFLAGS.patch, + +thin-provisioning-tools-0.2.7.ebuild: + Version bump wrt #486144 by Manuel Rüger 16 Aug 2013; Patrick Lauer <patrick@gentoo.org> thin-provisioning-tools-0.2.1.ebuild: diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.2.7-LDFLAGS.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.2.7-LDFLAGS.patch new file mode 100644 index 000000000000..2e11b76b5492 --- /dev/null +++ b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.2.7-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- Makefile.in ++++ Makefile.in +@@ -219,7 +219,7 @@ + + thin_metadata_size: thin-provisioning/thin_metadata_size.o + @echo " [LD] $@" +- $(V) $(CC) $(CFLAGS) -o $@ $+ -lm ++ $(V) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ -lm + + #---------------------------------------------------------------- + # Cache tools diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.7.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.7.ebuild new file mode 100644 index 000000000000..64745372d4ac --- /dev/null +++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.2.7.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.7.ebuild,v 1.1 2013/10/07 13:14:49 ssuominen Exp $ + +EAPI=5 +inherit autotools eutils 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="" + +RDEPEND="dev-lang/ruby + 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() { + epatch "${FILESDIR}"/${P}-LDFLAGS.patch + 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 +} |