summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-12-02 22:17:13 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2016-12-02 22:17:13 -0600
commitad1bb1b4b2ef243c807dfe9756b4d9b5a9e704b8 (patch)
tree861fa2fcd5bd9447fd2abdb0fe98289a39eb2d3d /dev-libs/leatherman
parentdev-python/bandit: bup (diff)
downloadgentoo-ad1bb1b4b2ef243c807dfe9756b4d9b5a9e704b8.tar.gz
gentoo-ad1bb1b4b2ef243c807dfe9756b4d9b5a9e704b8.tar.bz2
gentoo-ad1bb1b4b2ef243c807dfe9756b4d9b5a9e704b8.zip
dev-libs/leatherman: bup
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-0.10.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index c609b8733ffb..4cf203ac2f2e 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -1,3 +1,4 @@
+DIST leatherman-0.10.0.tar.gz 423081 SHA256 0f4e6d08eae4a7a59941496e68a62de848bb8763894bc18a2e10356b650dc742 SHA512 80d90a851d9150b90fb30ffd4ce508c6c41e015ec0b59a7e80592ba97afaee8c1dfe487bb9d6f94387c5b83ea65bbd8023d5cc633266a9bffca7cb5febe5baad WHIRLPOOL 1b2cba7a1de5e2ac1006a5ca4655271b9b83f669a83a04948f299c3d6ca76cc90b6f5fd8e217db142621184a267126f23facc05d7c1f53e8b063195278d18be3
DIST leatherman-0.9.0.tar.gz 392308 SHA256 8d79a998caa47047bfc52093e6a50618458b5c0aa502a6cf61f9fb7a6451c3bb SHA512 25c5edd58abad4e20d36ec7badb94aacc0f9a9e44200e710dcb3da116685396bba5b12ae806f9865e48d5d50c43a31486d8aa39fd853551ccf2c3eaa28859c8d WHIRLPOOL 492ae8971368a8c7e3527a875c8cb4a46d5a767b80b45d32b33fa2f1c66a7d2ea4825c923a6993b1147ac8e68bb111c682ef5315c13a11a68bd583b3423e6656
DIST leatherman-0.9.1.tar.gz 417376 SHA256 dc436230edd65f5244a72d290c598a3889787c917c4aa1a10f4559149408de81 SHA512 93fcb374eeac37a1e1009def0b94de8e7017764db7d18967da0409c34397e32249894de13e23509ecb37907388d7019e08e021db1d6909b1e8fe8b7b6e535c28 WHIRLPOOL 4e2c89322d349780624dff0670e353b923c159df9db20cf20272a8d7e80a899b85f949c2bbfc05e7a587ff845a5a342fc690be5dd3457d185b2d6850bf97ac47
DIST leatherman-0.9.3.tar.gz 417894 SHA256 3ede61039b8f15ca54cfa543e614bd115b6c862d3bf994c16d1783eb72ba0810 SHA512 8888c58875d806a7a20ab4aa2e45a52e585f3fda784b38e0552ef8367c1ea6b71d557534e179a11e897f8fe9249373c7cd5777c5bf6c9900b9581c690b4be4cc WHIRLPOOL b9c738d5365a68d7ea497f0e30929323f6fa6ebd396a1f97ab2d73a13d3eb43e3ac64b501e64b1e82397869dfba4b7aaeace7ad9be4930bd842ff2ebe070be2b
diff --git a/dev-libs/leatherman/leatherman-0.10.0.ebuild b/dev-libs/leatherman/leatherman-0.10.0.ebuild
new file mode 100644
index 000000000000..0bf52123aaa3
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.10.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+CMAKE_MIN_VERSION="3.2.2"
+
+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
+}