summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-25 23:48:37 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-25 23:56:40 +0100
commit01f9e0629b6c4cab23e548415e32a5d9213b4d6f (patch)
treeea5a2d4c55977b4a30c3c9b171b5b2caf5638661 /dev-libs
parentapp-text/txt2man: drop old EAPI (diff)
downloadgentoo-01f9e0629b6c4cab23e548415e32a5d9213b4d6f.tar.gz
gentoo-01f9e0629b6c4cab23e548415e32a5d9213b4d6f.tar.bz2
gentoo-01f9e0629b6c4cab23e548415e32a5d9213b4d6f.zip
dev-libs/libtasn1: Bump to version 4.15.0
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libtasn1/Manifest1
-rw-r--r--dev-libs/libtasn1/libtasn1-4.15.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libtasn1/Manifest b/dev-libs/libtasn1/Manifest
index 2b99e05e0456..5f3d2c4dc66d 100644
--- a/dev-libs/libtasn1/Manifest
+++ b/dev-libs/libtasn1/Manifest
@@ -1,2 +1,3 @@
DIST libtasn1-4.13.tar.gz 1891703 BLAKE2B 5a8bfefe1a3701505c8a1a4920412a6dd15fe771fb848fbd00f0a332388795dc6108a0fa5a282b4212abe0b0642f205bda53c2c39a4a2d65fa71e082fc76a6d2 SHA512 bf5b60a296795e0a8a4a658c0106492393aa7ce698e785256b3427c17215c2a5b6178a61a2043c93ea4334f754eabece20221ac8fef0fd5644086a3891d98a9f
DIST libtasn1-4.14.tar.gz 1771184 BLAKE2B fab592db4c62d1ed1201637fdbfbf7b753ff90994245b28bad4fbbb6f28616f0abc65fb5cf4fe9b9cd6cc7c4ffb442686b275a97dcfdbdb6a08b0d8e781576f5 SHA512 efdcf3729e9e057cafbfdc9929f08531de03cf3b64e7db62cb53c26bf34c8db4d73786fd853620ab1a10dbafe55e119ad17bfeb40e191071945c7b4db9c9e223
+DIST libtasn1-4.15.0.tar.gz 1800713 BLAKE2B 005a36bfdd89a167d469ef834c00d8b89e0fba42c0c973709be93c1d703b8042d5170df855085bac9945b6512dc3abef9405461988d634cb32ec0fe99f49367d SHA512 a8095aebf57a0b482027d06e0ee6978946f267b57bf2db3c891c4656ca35250cc1f72e2e90f4cc0ddbdf6cd2b1783881a62d495a57ad4a98684f8d037307552d
diff --git a/dev-libs/libtasn1/libtasn1-4.15.0.ebuild b/dev-libs/libtasn1/libtasn1-4.15.0.ebuild
new file mode 100644
index 000000000000..29fd0b035fb7
--- /dev/null
+++ b/dev-libs/libtasn1/libtasn1-4.15.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 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 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs test valgrind"
+
+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() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_enable valgrind valgrind-tests)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
+}