summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2017-03-03 00:36:46 +0100
committerKristian Fiskerstrand <k_f@gentoo.org>2017-03-03 00:41:00 +0100
commitaa05bc6eb76f13172b9617c457bf8ca989afd9de (patch)
tree35328049b540a1a78b5d775aeb3bc8350b415adb /dev-libs/libgpg-error
parentx11-base/xorg-server: Drop old version 1.19.1. (diff)
downloadgentoo-aa05bc6eb76f13172b9617c457bf8ca989afd9de.tar.gz
gentoo-aa05bc6eb76f13172b9617c457bf8ca989afd9de.tar.bz2
gentoo-aa05bc6eb76f13172b9617c457bf8ca989afd9de.zip
dev-libs/libgpg-error: Restore 1.26
Gentoo-Bug: 611440 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/libgpg-error')
-rw-r--r--dev-libs/libgpg-error/Manifest1
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.26.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest
index b998f5a757cd..ed8403feff33 100644
--- a/dev-libs/libgpg-error/Manifest
+++ b/dev-libs/libgpg-error/Manifest
@@ -1,2 +1,3 @@
DIST libgpg-error-1.24.tar.bz2 783628 SHA256 9268e1cc487de5e6e4460fca612a06e4f383072ac43ae90603e5e46783d3e540 SHA512 d577ebf36251402dd27187056f7c54cea226119f499d1c3bc1c4201ba4d2ae4a9dcefdf4502411cfcffe52b1cefab8c2cfddfa16b7e6ad3b49305a3394ccca31 WHIRLPOOL 2f216d374e0cc9ca64a9a9d3a4c3e756d28275e80ff42fa00649d2d969bf03b04bc56e71125fac176da447176fe8fe6052014c71b1f70ccb1d3c4cb11194c09c
+DIST libgpg-error-1.26.tar.bz2 798096 SHA256 4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69 SHA512 3f0c2bcba82156639b077d25b01ad41df1b8c960fbd90591e9c18eb7c6835d6cc8315100624cfdfec1d62d1df1ae8ebac55033af25e0a6474d1b7f7980b06a72 WHIRLPOOL e3ff86a4e1ae8c2b838726873fad8cc52fea2cb38ec993069788824995bea6d535afce1d869ee22cc6f4d42cef1008d3811eae44b553d949220dacbe229a8cee
DIST libgpg-error-1.27.tar.bz2 813060 SHA256 4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2 SHA512 51b313c1159074fdbbce84f63bd8afd84b3b58cd608714865b25bed84c1862d050708aa06ac3dab92f1906593df5121161e594c2809653b0fb2c236cae5dcc2f WHIRLPOOL 7d6e68c1d2388f0599573b3d56187582e5302777466e517ac22eafed50e1c3bc6bb8e81cd6d1561b917c4bfc627bf358344f47342449471c5ddf8175a7848396
diff --git a/dev-libs/libgpg-error/libgpg-error-1.26.ebuild b/dev-libs/libgpg-error/libgpg-error-1.26.ebuild
new file mode 100644
index 000000000000..6a2abb532154
--- /dev/null
+++ b/dev-libs/libgpg-error/libgpg-error-1.26.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils libtool 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
+)
+
+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
+}