diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-11-09 23:00:01 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-11-09 23:00:17 +0100 |
commit | 2f32b4e86eb366299fd7d37a89392b4035916fc7 (patch) | |
tree | 817a23c23d3657116e31cc1ec90498c0f4266221 /dev-libs | |
parent | net-mail/courier-imap: Stabilize 5.1.4 sparc, #822729 (diff) | |
download | gentoo-2f32b4e86eb366299fd7d37a89392b4035916fc7.tar.gz gentoo-2f32b4e86eb366299fd7d37a89392b4035916fc7.tar.bz2 gentoo-2f32b4e86eb366299fd7d37a89392b4035916fc7.zip |
dev-libs/libtasn1: Bump to version 4.18.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libtasn1/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libtasn1/libtasn1-4.18.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest index 827694349247..288626832fa5 100644 --- a/dev-libs/libtasn1/Manifest +++ b/dev-libs/libtasn1/Manifest @@ -1 +1,2 @@ DIST libtasn1-4.17.0.tar.gz 1906654 BLAKE2B a76798bdb8e68f2ca2337fa2648ff42adb7a9a51f27efefee5b9856e56ac09672237bd9a5b2afe808298e462eda31f2e8d3601c35ac00b84935f307ad981b2b1 SHA512 9cbd920196d1e4c8f5aa613259cded2510d40edb583ce20cc2702e2dee9bf32bee85a159c74600ffbebc2af2787e28ed0fe0adf15fc46839283747f4fe166d3d +DIST libtasn1-4.18.0.tar.gz 1724441 BLAKE2B b5f93a7575dde46741b6fc97183105efbc934e44041735241ba40ecd578c94637741df193dfab0d97e0348e2dde34b8b89a33ed616afa0bf64db6dbddebf1786 SHA512 4f2f4afc7561fda7a1f1c6c525c3c3b08228a1a4aa8c3d3d5e02e993d8f83ccee1dd0f1b201cec0fbfc97043d4b1d7a95ffd34d65422a38b85b931ac7a015831 diff --git a/dev-libs/libtasn1/libtasn1-4.18.0.ebuild b/dev-libs/libtasn1/libtasn1-4.18.0.ebuild new file mode 100644 index 000000000000..116fa06d177e --- /dev/null +++ b/dev-libs/libtasn1/libtasn1-4.18.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal libtool + +DESCRIPTION="ASN.1 library" +HOMEPAGE="https://www.gnu.org/software/libtasn1/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-2.1" +SLOT="0/6" # subslot = libtasn1 soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc static-libs test valgrind" + +RESTRICT="!test? ( test )" + +BDEPEND="sys-apps/help2man + virtual/yacc + test? ( valgrind? ( dev-util/valgrind ) )" + +DOCS=( + AUTHORS + ChangeLog + NEWS + README.md + THANKS +) + +pkg_setup() { + if use doc; then + DOCS+=( doc/libtasn1.pdf ) + HTML_DOCS=( doc/reference/html/. ) + fi +} + +src_prepare() { + default + elibtoolize # for Solaris shared library +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + $(multilib_native_use_enable valgrind valgrind-tests) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} |