summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-07-08 10:16:44 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-07-08 10:16:44 -0500
commitd283a906c6113c9fe635c06192af66f64fce0ea7 (patch)
treecaa2b9a364cea95a8f04bf8678281d374b1851ce /dev-libs/leatherman
parentnet-misc/openntpd: drop <6 (bug #584508 (diff)
downloadgentoo-d283a906c6113c9fe635c06192af66f64fce0ea7.tar.gz
gentoo-d283a906c6113c9fe635c06192af66f64fce0ea7.tar.bz2
gentoo-d283a906c6113c9fe635c06192af66f64fce0ea7.zip
dev-libs/leatherman: bup
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-0.7.5.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 00ccfe02aaa4..52bef5fe64a4 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -4,3 +4,4 @@ DIST leatherman-0.6.3.tar.gz 387644 SHA256 8951713aff2dd9a4e38016faa6fa6bd5634f1
DIST leatherman-0.7.2.tar.gz 389242 SHA256 ed4b887c6fe53987ea04c44382f60ff13cb245abbb0298455da5731a4636398f SHA512 3a9548caf9585ef52d54354cab19104c74235e0eb6c895ed47df9ba6a03dc108a9775fe7d3041c6f01c4f71e84769e94a090fb92281c1e592a0db9684ff60e6c WHIRLPOOL 97926560b8752f6065f1276be720d88b5c913b2a506f6bef63167d2274ba3ba1f7d02ad77bd4c4c47cd101853953e3049ce79eb8419036483e0af10577961f8b
DIST leatherman-0.7.3.tar.gz 388947 SHA256 64658b37bdbb24e85fd6be99c80e7d9daff510cb251ea89b7ed9eae5f7efdc47 SHA512 318ed8fcf6b515d5e89c3f1e9aee12b39413725941890620ad54cb937afdb39a3f1a55c072fb55435a9ab7d5121ff83cdb2e6af47827a7f65f4d999fe11932ee WHIRLPOOL fdf8567e747ce6e30878e52de602b6f49e3cb0e87377299fedbf30e37e3bacc2703048e418624a10ffbcdbb2618963be6fc394d41eabfe712512ec69be52c981
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
diff --git a/dev-libs/leatherman/leatherman-0.7.5.ebuild b/dev-libs/leatherman/leatherman-0.7.5.ebuild
new file mode 100644
index 000000000000..2c1f42cdaf94
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.7.5.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="ruby20 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
+}