diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2017-08-25 14:54:26 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2017-08-25 14:57:37 -0500 |
commit | 2e0264134b030135bad96e566f77ffc9c29ee430 (patch) | |
tree | ebfa9b545388831c971aae0f37391441d9faceb5 /dev-libs/leatherman | |
parent | net-misc/memcached: 1.5.1 bup (diff) | |
download | gentoo-2e0264134b030135bad96e566f77ffc9c29ee430.tar.gz gentoo-2e0264134b030135bad96e566f77ffc9c29ee430.tar.bz2 gentoo-2e0264134b030135bad96e566f77ffc9c29ee430.zip |
dev-libs/leatherman: 1.1.2 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-libs/leatherman')
-rw-r--r-- | dev-libs/leatherman/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/leatherman/leatherman-1.1.2.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/leatherman/Manifest b/dev-libs/leatherman/Manifest index 2e7ea48ffed7..4665ba392983 100644 --- a/dev-libs/leatherman/Manifest +++ b/dev-libs/leatherman/Manifest @@ -2,3 +2,4 @@ DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2 DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf428dd0ebbb4af619e3737f2131bdc0 SHA512 f93b6b0f1051507469bcb8d964cd38b238a269bf277f3b540d4b0e53700012aba3eefc8dc5656a4158ad55b8570ebdb09f528fb586621972b847e10305912ce4 WHIRLPOOL bb2ea8b025aa07b18c485e5d5b98cad035590cb2f13d59780b683a3c2003cfe676e160769e6293b185a8fb1c16c542e033fc10cb27ac6be705345d8c672b8e47 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 diff --git a/dev-libs/leatherman/leatherman-1.1.2.ebuild b/dev-libs/leatherman/leatherman-1.1.2.ebuild new file mode 100644 index 000000000000..fa1c63c54840 --- /dev/null +++ b/dev-libs/leatherman/leatherman-1.1.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 ~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 +} |