summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-08-11 12:44:41 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-08-11 12:44:41 -0500
commit45d5e63ae215bb3a4365ef685da0826ebc5a28d7 (patch)
tree0f7bf0aa496f5a3ffc2084fd3fbeeb8466f849b0 /dev-libs
parentdev-ruby/facter: bup (diff)
downloadgentoo-45d5e63ae215bb3a4365ef685da0826ebc5a28d7.tar.gz
gentoo-45d5e63ae215bb3a4365ef685da0826ebc5a28d7.tar.bz2
gentoo-45d5e63ae215bb3a4365ef685da0826ebc5a28d7.zip
dev-libs/leatherman: bup
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-0.9.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 0987b6eeaa52..a9fbf14a6d53 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -6,3 +6,4 @@ DIST leatherman-0.7.3.tar.gz 388947 SHA256 64658b37bdbb24e85fd6be99c80e7d9daff51
DIST leatherman-0.7.4.tar.gz 389081 SHA256 96f3791ffc4f0ce780bd533b69739420b470e90a400d5de34eb8539c11f502c4 SHA512 71b84a6934f46de4a9e6181e5cfc796fe25cac6bd8580fe618e3693bf22879e6597ecdc7bee0c8817beb3470934e06b4372d68e60575353029b795f013963b95 WHIRLPOOL cc61b8f996acbf2eb931a60b5fb1c237cb784165902e127e50e1a84da0d16928fd7720ec97df9db7985f0c6f221e64e1947f6ef84d69710bc6cc0eb352b60cdb
DIST leatherman-0.7.5.tar.gz 389795 SHA256 a54fd92a939fbf48d57d248010ed41cf373f826855222b30ec16289be586c1ac SHA512 70f6ad91647aaa049720af02110706ea7492bd00d2f742c203f7da22bb3928c677008e035144e3cbd9caa9e0ceec4abf89ce50567eaa9eaf4550908c5c8ba7da WHIRLPOOL 04d87ee2edcdb03938a26adebd2a37118370ab11b98ec6bea541c8df4d31c654a01579f81f164bedfea648210ef55bcfc6c1804bd4835f12308f9e262eb269fb
DIST leatherman-0.8.1.tar.gz 391075 SHA256 e5cd0b9893711495abfc004403e657c9a4f3ee46486c1fc7a60b4eb6787b3f49 SHA512 c10b0a8cee580cdd2c963dc21c445084eab5c70e5cb43d6550ac3b5681aa1edb772937a4fc7c0143b7523c0508056047b87d3c9b98bc4c9c5c59d8e63dcfc9e8 WHIRLPOOL 88bb92d59b86be1480a4f10559140cad66f8fa7c94d217fe527f7f27f53550df0f30bfb6f2d93512fa6e874a311da8990b44585982031bc69c49dacbe8583d1d
+DIST leatherman-0.9.0.tar.gz 392308 SHA256 8d79a998caa47047bfc52093e6a50618458b5c0aa502a6cf61f9fb7a6451c3bb SHA512 25c5edd58abad4e20d36ec7badb94aacc0f9a9e44200e710dcb3da116685396bba5b12ae806f9865e48d5d50c43a31486d8aa39fd853551ccf2c3eaa28859c8d WHIRLPOOL 492ae8971368a8c7e3527a875c8cb4a46d5a767b80b45d32b33fa2f1c66a7d2ea4825c923a6993b1147ac8e68bb111c682ef5315c13a11a68bd583b3423e6656
diff --git a/dev-libs/leatherman/leatherman-0.9.0.ebuild b/dev-libs/leatherman/leatherman-0.9.0.ebuild
new file mode 100644
index 000000000000..e64fca8f06b2
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.9.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib ruby-ng
+
+DESCRIPTION="A C++ toolkit"
+HOMEPAGE="https://github.com/puppetlabs/leatherman"
+SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${S}/all/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug test"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+CDEPEND="
+ >=sys-devel/gcc-4.8:*
+ >=dev-libs/boost-1.54[nls]
+ net-misc/curl"
+
+RDEPEND+=" ${CDEPEND}"
+DEPEND+=" test? ( ${CDEPEND} )"
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ -DCMAKE_BUILD_TYPE=None
+ -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+}