diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2017-11-14 21:22:05 -0600 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2017-11-14 21:22:21 -0600 |
commit | c8ee06ccfa9ff150e276b7f47ae428413ccd838d (patch) | |
tree | a61c83161b88f32d5d6430292338994b4dfed805 /dev-libs/leatherman | |
parent | net-analyzer/nagios-plugins: remove unused nagios-plugins-2.2.1.ebuild. (diff) | |
download | gentoo-c8ee06ccfa9ff150e276b7f47ae428413ccd838d.tar.gz gentoo-c8ee06ccfa9ff150e276b7f47ae428413ccd838d.tar.bz2 gentoo-c8ee06ccfa9ff150e276b7f47ae428413ccd838d.zip |
dev-libs/leatherman: 1.2.2 bup
Package-Manager: Portage-2.3.8, Repoman-2.3.4
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r-- | dev-libs/leatherman/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/leatherman/leatherman-1.2.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest index 258fea021d64..1f7d9f80b78f 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-1.2.1.tar.gz 431781 SHA256 747a12948167634d2c3db8c7be741ceb1eb486f54ed6b5b96fecfd68827e4efb SHA512 f12414093d09b86878558cbe68f03b7f36fc89131412edad0573dbc891b1c422b98b9923babbed9ac4acef2cad869ef452d602199ae4d3e90fca5a3e2eb688d2 WHIRLPOOL 87effe1fdccb432959f2ab530675ab8ca893c306fd4eafa94758961975db374e35254fbade1300a8bf1340b915197b59eca1b89bc52e0356532db2ae2628345f +DIST leatherman-1.2.2.tar.gz 434088 SHA256 2a6dc347767f3ac0f9a9df091c1355f34b7a779765ee51cc8dc0a1fe4ff0cd55 SHA512 1142a9be30efc8b1d52c9e38347dc39250c00c97c0cd7a299b63d6abb7140ec75c1fff0dc166b436ca6f4f82d7699869ea6988d807e8be8058a689841ac73b2a WHIRLPOOL 318c3e37bad2200edf0d97909c95ec53fbda801a5e08dc6f0c7d4db54a3fd5e48d96c1871e768920f4930fcb64b1e5b7bedffee05678b7aff39fff5abb0dc59e DIST leatherman-1.3.0.tar.gz 434229 SHA256 282bc54ca28e8269a392bbda423b940177a5925246ab961c7a5c338046b51ba0 SHA512 5e06be7add652f69b0d4a8d778e33dfb68183c4d598217cc6542d2431f7984f0af989c27bd69e89b77ab03d6dd2adab9d70f68cd87dae20d8e24ae05923fbe9b WHIRLPOOL a47441215397c185959414362dbb4956d0b5ea38fd21db3185723bc9b1d1b4cd58931fa6ce23628c678403b21069998aed66b4bc62ecffa172bd7539a21b7c02 diff --git a/dev-libs/leatherman/leatherman-1.2.2.ebuild b/dev-libs/leatherman/leatherman-1.2.2.ebuild new file mode 100644 index 000000000000..71062c83c1c4 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.2.2.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 + cmake-utils_src_prepare +} + +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 +} |