new package: libtasn1 (#6374)

This commit is contained in:
Ludea 2021-02-10 22:09:22 +01:00 committed by GitHub
parent 9d88b391a1
commit 5b7e66e274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libtasn1/
TERMUX_PKG_DESCRIPTION="This is GNU Libtasn1, a small ASN.1 library"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.16.0
TERMUX_PKG_SRCURL=https://gitlab.com/gnutls/libtasn1.git
TERMUX_PKG_GIT_BRANCH=libtasn1_${TERMUX_PKG_VERSION//./_}
termux_step_post_get_source() {
./bootstrap
}

View File

@ -0,0 +1,30 @@
diff --git a/Makefile.am b/Makefile.am
index 6c068fe..450fdfe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,10 +28,10 @@ EXTRA_DIST = windows/asn1-parser/asn1-parser.vcproj \
CONTRIBUTING.md cfg.mk maint.mk AUTHORS NEWS ChangeLog \
THANKS LICENSE
-SUBDIRS = lib src fuzz tests
+SUBDIRS = lib src fuzz
if ENABLE_DOC
-SUBDIRS += doc examples
+SUBDIRS += doc
endif
include $(top_srcdir)/aminclude_static.am
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 787c304..1ffff89 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -31,7 +31,7 @@ TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS)
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \
--no-split --number-sections --css-include=texinfo.css
-dist_man_MANS = $(gdoc_MANS) asn1Parser.1 asn1Coding.1 asn1Decoding.1
+dist_man_MANS = $(gdoc_MANS)
HELP2MAN_OPTS = --info-page libtasn1