2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 11:28:58 +01:00
|
|
|
#
|
|
|
|
# libtasn1
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-18 11:28:58 +01:00
|
|
|
|
2021-12-11 19:13:23 +01:00
|
|
|
LIBTASN1_VERSION = 4.18.0
|
2017-02-06 17:48:52 +01:00
|
|
|
LIBTASN1_SITE = $(BR2_GNU_MIRROR)/libtasn1
|
2020-04-24 11:18:24 +02:00
|
|
|
LIBTASN1_DEPENDENCIES = host-bison host-pkgconf
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBTASN1_LICENSE = GPL-3.0+ (tests, tools), LGPL-2.1+ (library)
|
2021-06-13 23:00:13 +02:00
|
|
|
LIBTASN1_LICENSE_FILES = COPYING doc/COPYING doc/COPYING.LESSER
|
2020-12-04 16:46:01 +01:00
|
|
|
LIBTASN1_CPE_ID_VENDOR = gnu
|
2013-02-18 11:28:58 +01:00
|
|
|
LIBTASN1_INSTALL_STAGING = YES
|
2020-04-24 11:18:24 +02:00
|
|
|
|
|
|
|
# We're patching fuzz/Makefile.am
|
|
|
|
LIBTASN1_AUTORECONF = YES
|
|
|
|
|
2013-12-02 13:22:57 +01:00
|
|
|
# 'missing' fallback logic botched so disable it completely
|
|
|
|
LIBTASN1_CONF_ENV = MAKEINFO="true"
|
2013-02-18 11:28:58 +01:00
|
|
|
|
2020-04-24 20:03:21 +02:00
|
|
|
LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
|
2021-12-30 23:48:20 +01:00
|
|
|
LIBTASN1_PROGS = asn1Coding asn1Decoding asn1Parser
|
2021-10-19 08:39:14 +02:00
|
|
|
|
|
|
|
# We only need the library
|
|
|
|
define LIBTASN1_REMOVE_PROGS
|
2021-12-30 23:48:20 +01:00
|
|
|
$(RM) $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBTASN1_PROGS))
|
2021-10-19 08:39:14 +02:00
|
|
|
endef
|
|
|
|
LIBTASN1_POST_INSTALL_TARGET_HOOKS += LIBTASN1_REMOVE_PROGS
|
|
|
|
|
2013-02-18 11:28:58 +01:00
|
|
|
$(eval $(autotools-package))
|