new package: libtasn1 (#6374)
This commit is contained in:
parent
9d88b391a1
commit
5b7e66e274
11
packages/libtasn1/build.sh
Normal file
11
packages/libtasn1/build.sh
Normal 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
|
||||
}
|
30
packages/libtasn1/no-native.exec.patch
Normal file
30
packages/libtasn1/no-native.exec.patch
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user