diff options
author | Stuart Shelton <stuart@shelton.me> | 2017-08-19 13:38:16 +0100 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2017-08-19 16:11:12 +0100 |
commit | f9df9ec9b75cdd0d3e9b48131fcef45b65f9f42b (patch) | |
tree | e4153017a8f6e46c9028f88a7c786bbdd69f60d5 /dev-libs | |
parent | Add dev-libs/libgcrypt-1.7.8, update README.md (diff) | |
download | srcshelton-f9df9ec9b75cdd0d3e9b48131fcef45b65f9f42b.tar.gz srcshelton-f9df9ec9b75cdd0d3e9b48131fcef45b65f9f42b.tar.bz2 srcshelton-f9df9ec9b75cdd0d3e9b48131fcef45b65f9f42b.zip |
Add dev-libs/libgpg-error-1.27-r1, update README.md
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libgpg-error/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest new file mode 100644 index 00000000..024f4e72 --- /dev/null +++ b/dev-libs/libgpg-error/Manifest @@ -0,0 +1,2 @@ +DIST libgpg-error-1.27.tar.bz2 813060 SHA256 4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2 SHA512 51b313c1159074fdbbce84f63bd8afd84b3b58cd608714865b25bed84c1862d050708aa06ac3dab92f1906593df5121161e594c2809653b0fb2c236cae5dcc2f WHIRLPOOL 7d6e68c1d2388f0599573b3d56187582e5302777466e517ac22eafed50e1c3bc6bb8e81cd6d1561b917c4bfc627bf358344f47342449471c5ddf8175a7848396 +EBUILD libgpg-error-1.27-r1.ebuild 1592 SHA256 99af4c701d2494e14e9e370823a333fde0a41ebf9a6d4c4c6837359a7e11834b SHA512 e761c152dd948d5720192680d950115879dbe6f016ef4fbb502cb8ec216be6f3613c60dba62c5416b73e3c059a1e54bb1be74199cd4a994edf0d20cc5131f508 WHIRLPOOL 0c320a3c57a075a688caeb1c58fff205df9edfd37541137986bb4ed6e1e2a12e5936a7aaa2105fdb67e1520c1a6c8c08077011d1709e5d1c2564f42da6931fea diff --git a/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild new file mode 100644 index 00000000..dedd4259 --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.27-r1.ebuild @@ -0,0 +1,60 @@ +# 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 sep-usr 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() { + default + + if use sep-usr && multilib_is_native_abi; then + # need the libs in / + gen_usr_ldscript -a gpg-error + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all +} |