summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-09-18 23:15:54 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-09-18 23:15:54 -0500
commit4c9844de97efd0de174e238d35f5b056a342b6b9 (patch)
treed6eb717bc1627e0b80991b19753151f929dd9741 /dev-libs/leatherman
parentapp-admin/ansible: 2.4.0.0 bup (diff)
downloadgentoo-4c9844de97efd0de174e238d35f5b056a342b6b9.tar.gz
gentoo-4c9844de97efd0de174e238d35f5b056a342b6b9.tar.bz2
gentoo-4c9844de97efd0de174e238d35f5b056a342b6b9.zip
dev-libs/leatherman: 1.3.0 bup
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-1.3.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 47831774b611..2ae39bc3f018 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -1,3 +1,4 @@
DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229
DIST leatherman-0.12.2.tar.gz 423879 SHA256 32873bc61109e4fa64f26c810cad76315f90721711742c9a04cfed687f43829e SHA512 4c6aab859901a5685f23cfe023cd2ca922548e7068835a34e2665e9f7384a8efd9d7fe49de384a20c17d685a672c994bca6c1612f70d01f83c87db0a74683841 WHIRLPOOL af513b04076090bb6782c176bb386dc02d564c05c992c2f48f92d91d6346b54061d55585a24283073b1a4441acbcdb7cc34e1d7f798c2062fc300d83368c1cec
DIST leatherman-1.2.1.tar.gz 431781 SHA256 747a12948167634d2c3db8c7be741ceb1eb486f54ed6b5b96fecfd68827e4efb SHA512 f12414093d09b86878558cbe68f03b7f36fc89131412edad0573dbc891b1c422b98b9923babbed9ac4acef2cad869ef452d602199ae4d3e90fca5a3e2eb688d2 WHIRLPOOL 87effe1fdccb432959f2ab530675ab8ca893c306fd4eafa94758961975db374e35254fbade1300a8bf1340b915197b59eca1b89bc52e0356532db2ae2628345f
+DIST leatherman-1.3.0.tar.gz 434229 SHA256 282bc54ca28e8269a392bbda423b940177a5925246ab961c7a5c338046b51ba0 SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b WHIRLPOOL a47441215397c185959414362dbb4956d0b5ea38fd21db3185723bc9b1d1b4cd58931fa6ce23628c678403b21069998aed66b4bc62ecffa172bd7539a21b7c02
diff --git a/dev-libs/leatherman/leatherman-1.3.0.ebuild b/dev-libs/leatherman/leatherman-1.3.0.ebuild
new file mode 100644
index 000000000000..73272169b5e2
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib
+
+DESCRIPTION="A C++ toolkit"
+HOMEPAGE="https://github.com/puppetlabs/leatherman"
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug test"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+ net-misc/curl
+ >=sys-devel/gcc-4.8:*"
+
+PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
+
+src_prepare() {
+ sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
+ default
+}
+
+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_test() {
+ "${WORKDIR}/${P}"_build/bin/leatherman_test
+}
+
+src_install() {
+ cmake-utils_src_install
+}