You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
795 B
25 lines
795 B
# 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.16.0
|
|
$(PKG)_CHECKSUM := 0e0fb0903839117cb6e3b56e68222771bebf22ad7fc2295a0ed7d576e8d4329d
|
|
$(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
|