forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229 | ||
DIST leatherman-0.10.2.tar.gz 423470 SHA256 eca6cf88a233bb6c21be2b2d3954763e523d7aa1a5363ac6f0a6f29e6f630167 SHA512 2ca7e3c63ce72f071b9ebed4f3621712065bddef720eccf4e01483e79aef6d1e0931f3e2958efdb903e6363c477e74de7e76552b399d4614425b8a491ddd9f63 WHIRLPOOL 5049d5e997f832e0f2c75664871b73f49153024d1a06051f5721a1cf48ce4357bd63c0330fec684bf64cfbb7b57f7e1ba6146d4aae800ad2a60ce6f0a6b3c5fe | ||
DIST leatherman-0.11.0.tar.gz 423516 SHA256 b625b7e7c54495f60a9166e7da85d2fd70a877b3e4cd81bba9e67da51dd261cd SHA512 af1a985ad4fe84a38193282a35d01ba939a8e35854158083387829c45887a2cde6c15f426770771ad17c6088d405b29209b5e772b477803f1fc6537538581367 WHIRLPOOL 1c8dd17c8b093ff6425702b1f5757468f5f1d27006700d48a02295116cbf735ae10a006a260415a49a527773be2e7d2d4922a751a354edb741212ab62bf8ffb2 | ||
DIST leatherman-0.9.0.tar.gz 392308 SHA256 8d79a998caa47047bfc52093e6a50618458b5c0aa502a6cf61f9fb7a6451c3bb SHA512 25c5edd58abad4e20d36ec7badb94aacc0f9a9e44200e710dcb3da116685396bba5b12ae806f9865e48d5d50c43a31486d8aa39fd853551ccf2c3eaa28859c8d WHIRLPOOL 492ae8971368a8c7e3527a875c8cb4a46d5a767b80b45d32b33fa2f1c66a7d2ea4825c923a6993b1147ac8e68bb111c682ef5315c13a11a68bd583b3423e6656 | ||
DIST leatherman-0.9.4.tar.gz 418077 SHA256 a396514fef1ab5d14ebc745a9166ac4fcdf229e5378824302de751ef5ec2bee9 SHA512 c08401856f5afc1b9d48cf31fa3c037ee9f316f4356419785c021696dff4628bfde92318ad0e50faf83aa9b205ebd479bbb46379431811cfec1dcbd5c88021f7 WHIRLPOOL cdae73fc20e08603c81d98127f642e6720fae449f1f1fbb9ca591ffed051bb1efc5ba21ea93a041d9cc8c7c58844ed5fc7467f6e9107d325687609780e8e2a6d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
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 ~hppa ~ppc ~ppc64 ~sparc ~x86" | ||
|
||
RDEPEND="net-misc/curl" | ||
DEPEND=">=dev-libs/boost-1.54[nls] | ||
net-misc/curl | ||
>=sys-devel/gcc-4.8:*" | ||
|
||
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_test() { | ||
cmake-utils_src_test | ||
} | ||
|
||
src_install() { | ||
cmake-utils_src_install | ||
} |