diff options
Diffstat (limited to 'app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild')
-rw-r--r-- | app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild b/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild new file mode 100644 index 000000000000..834a00e8e8e2 --- /dev/null +++ b/app-crypt/openssl-af_alg-engine/openssl-af_alg-engine-0.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_PN="af_alg" + +inherit autotools eutils libtool linux-info versionator + +DESCRIPTION="af_alg is an openssl crypto engine kernel interface thing" +HOMEPAGE="https://github.com/sarnold/af_alg" +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz" + +LICENSE="openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="virtual/linux-sources + >=dev-libs/openssl-1.0.0d" +RDEPEND="" + +RESTRICT="test" + +S=${WORKDIR}/${MY_PN}-${PV} + +CONFIG_CHECK="~CRYPTO_USER_API" +WARNING_CRYPTO_USER_API="You need to enable CONFIG_CRYPTO_USER_API in order to use this package." + +src_prepare() { + sed -i -e "s|ssl/engines|engines|" "${S}"/configure.ac + eautoreconf +} + +src_configure() { + econf --with-pic +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS NEWS README.rst + + prune_libtool_files --modules +} |