summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-03-19 14:25:31 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-03-19 14:27:05 -0500
commit4c18bbca1a254fceac35ca9d597e088e50060b20 (patch)
tree28e024fb95e2ef9d9f8dbd5d4adcfdfb039ad9f9 /dev-libs/leatherman
parentsys-apps/duc: Initial commit; disk usage analyzer (diff)
downloadgentoo-4c18bbca1a254fceac35ca9d597e088e50060b20.tar.gz
gentoo-4c18bbca1a254fceac35ca9d597e088e50060b20.tar.bz2
gentoo-4c18bbca1a254fceac35ca9d597e088e50060b20.zip
dev-libs/leatherman: initial add
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r--dev-libs/leatherman/Manifest1
-rw-r--r--dev-libs/leatherman/leatherman-0.4.2.ebuild51
-rw-r--r--dev-libs/leatherman/metadata.xml11
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest
new file mode 100644
index 000000000000..7d6b20304585
--- /dev/null
+++ b/dev-libs/leatherman/Manifest
@@ -0,0 +1 @@
+DIST leatherman-0.4.2.tar.gz 373142 SHA256 5c1d9af54d803ba8a200004320f55e3ec983265a60f9c8942bf53c745f1f1679 SHA512 c82a3458fe813d0ccd9c5b7539b6d98d28c598be24803062b7a990eadf36fe3b4da70c4253af022bfe9eb4cfdf1d322ed3d04f56021ac09ae10f44fd33467981 WHIRLPOOL afec9a9e773f68d2560f272a5eea11fa601667ccb38bba07f3bdb8e8cb528a6b61ecb35625f633faea6095e63eff172c9018420458d1ed2afeedcb07988962a9
diff --git a/dev-libs/leatherman/leatherman-0.4.2.ebuild b/dev-libs/leatherman/leatherman-0.4.2.ebuild
new file mode 100644
index 000000000000..2c1f42cdaf94
--- /dev/null
+++ b/dev-libs/leatherman/leatherman-0.4.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+inherit cmake-utils multilib ruby-ng
+
+DESCRIPTION="A C++ toolkit"
+HOMEPAGE="https://github.com/puppetlabs/leatherman"
+SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
+SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${S}/all/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="debug test"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+CDEPEND="
+ >=sys-devel/gcc-4.8:*
+ >=dev-libs/boost-1.54[nls]
+ net-misc/curl"
+
+RDEPEND+=" ${CDEPEND}"
+DEPEND+=" test? ( ${CDEPEND} )"
+
+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_install() {
+ cmake-utils_src_install
+}
diff --git a/dev-libs/leatherman/metadata.xml b/dev-libs/leatherman/metadata.xml
new file mode 100644
index 000000000000..7e2be04a03c3
--- /dev/null
+++ b/dev-libs/leatherman/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ A set of C++ Libraries.
+ </longdescription>
+</pkgmetadata>