summaryrefslogtreecommitdiff
path: root/dev-libs/leatherman
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-1.3.0-r1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
index fbaed2b0a9ba..3983e2265744 100644
--- a/dev-libs/leatherman/Manifest
+++ b/dev-libs/leatherman/Manifest
@@ -6,6 +6,7 @@ DIST leatherman-1.3.0.tar.gz 434229 SHA256 282bc54ca28e8269a392bbda423b940177a59
EBUILD leatherman-0.10.1.ebuild 1006 SHA256 18a04e95eafad79743e3be4b3fb9ed0426e075fa6f2ed74ba0365a312a40f703 SHA512 7e1ffa3ef5eeb5de86feee509d146b06739d077f654b437b7f7a05c4a9df6b8b5e4b31730917b1c49e17ff9ab6c820c97fc5d9abae6e39129ed5ea0082ee0e12 WHIRLPOOL 5708b1b2f150a39cae3bc4179a67e5f9ef2f466acef0e4ff1d9ad0f369605ab973c52eddf1ba5f0ec816e6f623ae8f12022291a398c5f93641cfaf6df3a21238
EBUILD leatherman-1.2.1.ebuild 1094 SHA256 82b1f2a4829d6f76f7323694793aa5c53623bcc71cfd5f3839d450624a1edc87 SHA512 9919bb0911a0fb9c4dd2ed589e960f915d3ff91697561088fc166ca56fb9a17c3c10cc187b1d5180c378be39e607bb08551eb49607b336f22acf91e8a33f1800 WHIRLPOOL d1730f44669f1858ee4d7588d265ac76e2d920559a265bb31dc3c3dad832edf8c998a0615eb6b11348156db402cd88868f28680742935db02b55aab413a4407b
EBUILD leatherman-1.2.2.ebuild 1098 SHA256 9fd272ed6ff09622f898f8b252551e424d7e93c939c75f84ef1aec214af1ab84 SHA512 5aced8fdeb84970c8997e786b6176344104fddae30adff7ba9c31e1c095da0a89a5a661dd017ed9bacf79fe5ac2b14db12f236fed034afff4e37edbb121a0dae WHIRLPOOL 8ee9238bae100558535a5fa9c1b5d82bfa7b6e2b30ba34d367107bc4d5f7875167396d5553725b3b5d6701bfd7b8b0f87c7cb983dca3048d61ab49986a0e9754
+EBUILD leatherman-1.3.0-r1.ebuild 1243 SHA256 2e45cea782f7f1629d7b67cc426b2051f39eb1a966ba751d41c6d6ac99d9a747 SHA512 cbc019964195df0b9f53039690774e01d0f79ea8b65b4ec77b37bf265a37a1510092338f794cb1832bf44b13b7cbfb83b50c39a1c2de19fbfceca0822589f1b0 WHIRLPOOL e3b2af763a9656b4ada84c68a75a24d2e06990ff6b58b50c813b32fbdac9966164cfeb94b899fd71703946c7fcf95f85b00a1722acc53404af4d63ee71c2cf3b
EBUILD leatherman-1.3.0.ebuild 1096 SHA256 a67cb821ac816646e093711ef957295ca294fb36af4d3a77759c1f66e9dcec60 SHA512 276c0420542709ede287dca0cf16f37da81d6b02f7ed5f2a6b0b6c80e624b6f0fc5d1f41dec05f82d5f9f3f1e6c59996914698731febcf3b63871474aa85833e WHIRLPOOL 7c82a77adee32aa9037cb99ed378743e39ccbae515e5bd81beef49ac493fe2efa889eb2976ba9c3e648b7816d02514d942aae578e192d76af7bd1b3440c917e1
MISC ChangeLog 5469 SHA256 db5463745ef232013745135c8365712246d2e48682e2449790ab9c3df74cdd7f SHA512 0afe283097801fee37f09caf8737a7efa075d8fed15baedacb741a28541235e1d7d55bafb1d248a0a32120e397869e6a55bf65b14a122f058af7154330b7a482 WHIRLPOOL 029ea00501cef5b9036d5ba9fd32682d4b7195d7cad677e344363072a9a1408d87d806aa4bbc7c3106b22945574284a740918108eb69c4ca51bc973e7575bb2a
MISC metadata.xml 415 SHA256 361f617e92d34fcf27259db400353da423c9d585ec2bb2128ab58f5cc7fd3a86 SHA512 9450c72aff399df62f4479bee9e2e564bd7c451ee69fef1cf5c59b37331b312c982418de6d8dc1a5dcaec37050165413e13f83de5102e88e1c5fffa67d9b0023 WHIRLPOOL 016361dd4c0590f34c5f838f7d7a3056e06c3bbc2c90cda029424dffcf203daa4bb39076c0889016cd796aa8b48130e25d49d9e813b959aa95727c0c391c340f
diff --git a/dev-libs/leatherman/leatherman-1.3.0-r1.ebuild b/dev-libs/leatherman/leatherman-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..a38cf2698c5a
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-1.3.0-r1.ebuild
@@ -0,0 +1,61 @@
+# 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 static-libs 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 static-libs; then
+ mycmakeargs+=(
+ -DLEATHERMAN_SHARED=ON
+ )
+ else
+ mycmakeargs+=(
+ -DLEATHERMAN_SHARED=OFF
+ )
+ fi
+ 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
+}