summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-08-31 12:42:40 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-08-31 12:44:00 -0500
commit5e2e6ca351d628234c488794d9f385ed534bb9ae (patch)
tree7910dba276baabb23a4bf8c0a1504c2c61865f32 /dev-libs/leatherman
parentsys-cluster/heat: 9.0.0 bup PIKE (diff)
downloadgentoo-5e2e6ca351d628234c488794d9f385ed534bb9ae.tar.gz
gentoo-5e2e6ca351d628234c488794d9f385ed534bb9ae.tar.bz2
gentoo-5e2e6ca351d628234c488794d9f385ed534bb9ae.zip
dev-libs/leatherman: 1.2.0 bup
Package-Manager: Portage-2.3.6, 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.2.0.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index 4665ba392983..cf13f123a717 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -3,3 +3,4 @@ DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf42
DIST leatherman-1.0.0.tar.gz 423859 SHA256 4bcb8eaf08429e9e62cc6fcbfc1f216bd2eff800f751dbacabbec7d714ed21a2 SHA512 a4fabe53662e00b7be563b768b317d186204b66c0949d4cf0b3c9133462a95fe449758f474b04285803a786745d27c7327429dc80ff4d6d2b52b3973d3927ef0 WHIRLPOOL 3490566cdb495bb972fe4e906412184f4d16505fb7cd156588da68d1d08eb79014cdc65faeeb04f1646aef9d7054e84e087280c4a67607884a389ac85a2cffa2
DIST leatherman-1.1.1.tar.gz 429468 SHA256 5c277b094cdfd8bfec43aef57bd02443d8789e85c203821acb7d0fbe42fa20c3 SHA512 a27976185ea356e9c3318b2d2f9f3fd41e5586ea376788fda8ee1061d98c8127aec7056231f0614a45b09113756c6778e52b5277dbf71c42a8f46fd0560dd9ce WHIRLPOOL e2e2b726e9086fe26265f8fe9f8c0b13e43e8df4edc4c81b438259acb78a5e90dd1ab5d5beef69e3c068b69481477f1722645abf5d95843acd1effa97c3fff7b
DIST leatherman-1.1.2.tar.gz 430545 SHA256 1feca2ba8472252132ad90c6bcc3fba6dbb85ee912b1cbcde9853d812d54729f SHA512 2b0ae54664ed0506c7c87079f9d7096a031b324650be7713cf7d0172d48fb36d619a1c00e6604dd0ac8aa397b72fded2b4ff535ebe853f42c9bddc0d3a3bde15 WHIRLPOOL 521d540530c7ffdb43296c475ca8903785484880b593f50417bb66b570814019a64ba655fe3a76723a86964a537109b1fc1ef5ffbaf78991b7a6c1e619888a9a
+DIST leatherman-1.2.0.tar.gz 431224 SHA256 96cc533e1cf3f7d3bcb1d358acf8b59f151646ea33147a516bb1a82f01355d87 SHA512 9873cc9c7c85280da443141dc72cc77bdd8f929d9b4ca327bdd9dd2bcb1763b154a5c95e7c52b5d0c8836fc6d2dcd36471e127166357cb1ccabec4aabac493a3 WHIRLPOOL 0a1ad1797a7fbbc55a8d8cf7ed649c8ed3b88096c4b6dd14e935068cb6d7632e926528ef4161c7675384520b2e1de7ddbb31488352d8b6c20ebce814b3de10d1
diff --git a/dev-libs/leatherman/leatherman-1.2.0.ebuild b/dev-libs/leatherman/leatherman-1.2.0.ebuild
new file mode 100644
index 000000000000..73272169b5e2
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.2.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
+}