app-crypt/osslsigncode: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:07:28 +0000 (10:07 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Jun 2016 14:07:48 +0000 (10:07 -0400)
Package-Manager: portage-2.2.28

app-crypt/osslsigncode/osslsigncode-1.4.ebuild

index 40c7df0e2359de05b7e0f9539918480c4f2d4862..f96b63665d86ad8d311c4aba0150c9ea4067dcb3 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI="5"
 
 DESCRIPTION="Platform-independent tool for Authenticode signing of EXE/CAB files"
 HOMEPAGE="https://sourceforge.net/projects/osslsigncode"
@@ -11,9 +11,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="curl"
+IUSE="curl libressl"
 
-RDEPEND="dev-libs/openssl
+RDEPEND="
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        curl? ( net-misc/curl )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"