summaryrefslogtreecommitdiffstats
path: root/src/libtasn1.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2019-07-09 08:07:13 (GMT)
committerMark Brand <mabrand@mabrand.nl>2019-07-09 08:09:14 (GMT)
commit5dca47ca5b867502cc1fa9d8500a1ea2de7bd189 (patch)
tree3fb95359428377c2859e319760e8c2f9b69b5ecd /src/libtasn1.mk
parentbe18244bc7d71d48422c562f1e4009932c728927 (diff)
downloadmxe-5dca47ca5b867502cc1fa9d8500a1ea2de7bd189.zip
mxe-5dca47ca5b867502cc1fa9d8500a1ea2de7bd189.tar.gz
mxe-5dca47ca5b867502cc1fa9d8500a1ea2de7bd189.tar.bz2
gnutls: use external libtasn1
Diffstat (limited to 'src/libtasn1.mk')
-rw-r--r--src/libtasn1.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libtasn1.mk b/src/libtasn1.mk
new file mode 100644
index 0000000..8f39fb3
--- /dev/null
+++ b/src/libtasn1.mk
@@ -0,0 +1,24 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := libtasn1
+$(PKG)_WEBSITE := https://www.gnu.org/software/libtasn1/
+$(PKG)_DESCR := GnuTLS
+$(PKG)_VERSION := 4.13
+$(PKG)_CHECKSUM := 7e528e8c317ddd156230c4e31d082cd13e7ddeb7a54824be82632209550c8cca
+$(PKG)_SUBDIR := libtasn1-$($(PKG)_VERSION)
+$(PKG)_FILE := libtasn1-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://ftp.gnu.org/gnu/libtasn1/$($(PKG)_FILE)
+$(PKG)_DEPS := cc
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- https://ftp.gnu.org/gnu/libtasn1/ | \
+ $(SED) -n 's,.*libtasn1-\([1-9]\+\.[0-9]\+\)\..*,\1,p' | \
+ $(SORT) -V | \
+ tail -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ $(MXE_CONFIGURE_OPTS)
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef