tapp-crypt/opmsg: Add 1.75 - parlay - yet another gentoo overlay HTML git clone https://git.parazyd.org/parlay DIR Log DIR Files DIR Refs DIR README --- DIR commit f8bd6812303873bd215b448ffbe432d6b7f3d344 DIR parent 86739ed6836e9fce5996cdc7087bfdd0f57849ac HTML Author: parazyd <parazyd@dyne.org> Date: Sat, 12 Nov 2016 23:28:12 +0100 app-crypt/opmsg: Add 1.75 Diffstat: A app-crypt/opmsg/Manifest | 1 + R app-crypt/opmsg/files/opmsg-9999-l… | 0 R app-crypt/opmsg/files/opmsg-9999-s… | 0 A app-crypt/opmsg/opmsg-1.75.ebuild | 46 +++++++++++++++++++++++++++++++ M app-crypt/opmsg/opmsg-9999.ebuild | 6 +++--- 5 files changed, 50 insertions(+), 3 deletions(-) --- DIR diff --git a/app-crypt/opmsg/Manifest b/app-crypt/opmsg/Manifest t@@ -0,0 +1 @@ +DIST rel-1.75s.tar.gz 65425 SHA256 2ca9bc3dce2a76c29b0f63f904f1f1a62778338cc93cb5ae301e97ba73b7d12f SHA512 09d2ddcbed26281dc30733d5d44d74b4474f4bcd1972f8bd47eb10eb7478d34df64348ff373e58582cdb5a93fb2d8514d5c711d4b234845768f659df17620dc4 WHIRLPOOL e35eab6e10930723f406ca0831ada8398f0fe889827e3a5c917894ed955358cd3c09da89947c15c22f7ddbbb92b8f9c1a7681a855b70db6e44b398fd9c562b2c DIR diff --git a/app-crypt/opmsg/files/opmsg-9999-libressl.patch b/app-crypt/opmsg/files/opmsg-libressl.patch DIR diff --git a/app-crypt/opmsg/files/opmsg-9999-static.patch b/app-crypt/opmsg/files/opmsg-static.patch DIR diff --git a/app-crypt/opmsg/opmsg-1.75.ebuild b/app-crypt/opmsg/opmsg-1.75.ebuild t@@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils + +DESCRIPTION="opmsg message encryption" +HOMEPAGE="https://github.com/stealth/opmsg" +SRC_URI="https://github.com/stealth/opmsg/archive/rel-${PV}s.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl contrib static" + +DEPEND=" + !libressl? ( dev-libs/openssl ) + libressl? ( dev-libs/libressl ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-rel-${PV}s" + + +src_prepare() { + default + use libressl && epatch "${FILESDIR}/${PN}-libressl.patch" + use static && epatch "${FILESDIR}/${PN}-static.patch" +} + +src_compile() { + cd src + emake + use contrib && emake contrib + cd - +} + +src_install() { + dobin src/opmsg + use contrib && { + dobin src/opmux + dobin src/opcoin + } +} DIR diff --git a/app-crypt/opmsg/opmsg-9999.ebuild b/app-crypt/opmsg/opmsg-9999.ebuild t@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/stealth/opmsg.git" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="" IUSE="libressl contrib static" DEPEND=" t@@ -24,8 +24,8 @@ RDEPEND="${DEPEND}" src_prepare() { default - use libressl && epatch "${FILESDIR}/${P}-libressl.patch" - use static && epatch "${FILESDIR}/${P}-static.patch" + use libressl && epatch "${FILESDIR}/${PN}-libressl.patch" + use static && epatch "${FILESDIR}/${PN}-static.patch" } src_compile() {