diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-03 18:10:10 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-03 18:10:10 +0100 |
commit | 374ddc069d306932f195f540f4124ebe0765c988 (patch) | |
tree | f0d8e7fb4a99a93e166273b682ca545cc90f81ec | |
parent | 75e5f82416d37cf3ebe87bd05acc822defda49a3 (diff) | |
download | gentoo-personal-overlay-374ddc069d306932f195f540f4124ebe0765c988.tar.gz gentoo-personal-overlay-374ddc069d306932f195f540f4124ebe0765c988.tar.bz2 gentoo-personal-overlay-374ddc069d306932f195f540f4124ebe0765c988.zip |
Try to fix libgpg-error
-rw-r--r-- | dev-libs/libgpg-error/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgpg-error/libgpg-error-1.27-r2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest new file mode 100644 index 0000000..4a75e00 --- /dev/null +++ b/dev-libs/libgpg-error/Manifest @@ -0,0 +1 @@ +DIST libgpg-error-1.27.tar.bz2 813060 SHA256 4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2 SHA512 51b313c1159074fdbbce84f63bd8afd84b3b58cd608714865b25bed84c1862d050708aa06ac3dab92f1906593df5121161e594c2809653b0fb2c236cae5dcc2f WHIRLPOOL 7d6e68c1d2388f0599573b3d56187582e5302777466e517ac22eafed50e1c3bc6bb8e81cd6d1561b917c4bfc627bf358344f47342449471c5ddf8175a7848396 diff --git a/dev-libs/libgpg-error/libgpg-error-1.27-r2.ebuild b/dev-libs/libgpg-error/libgpg-error-1.27-r2.ebuild new file mode 100644 index 0000000..f074e8a --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.27-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit libtool ltprune multilib-minimal toolchain-funcs + +DESCRIPTION="Contains error handling functions used by GnuPG software" +HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="common-lisp nls static-libs" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) + abi_x86_32? ( + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + !<=app-emulation/emul-linux-x86-baselibs-20131008-r12 + )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gpg-error-config +) +MULTILIB_WRAPPED_HEADERS=( + /usr/include/gpg-error.h + /usr/include/gpgrt.h +) + +src_prepare() { + default + elibtoolize +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ + --enable-threads \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + $(use_enable common-lisp languages) \ + $(multilib_is_native_abi || echo --disable-languages) +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} |