openexr: make architecture independent
[oi-userland.git] / components / library / libtasn1 / Makefile
blob1062b3ba97276f75d45dbb661bf29367650e545e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
14 # Copyright 2021 Andreas Wacknitz
17 BUILD_BITS= 64_and_32
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libtasn1
21 COMPONENT_VERSION= 4.19.0
22 COMPONENT_SUMMARY= Tiny ASN.1 library
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a
26 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/libtasn1/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = https://www.gnu.org/software/libtasn1/
28 COMPONENT_FMRI= library/libtasn1
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE = Library is LGPLv2.1, binaries are GPLv3
32 include $(WS_MAKE_RULES)/common.mk
34 PATH=$(PATH.gnu)
36 CONFIGURE_OPTIONS += --sysconfdir=/etc
37 CONFIGURE_OPTIONS += --disable-static
38 CONFIGURE_OPTIONS += --enable-shared
40 # Two tests fail otherwise
41 unexport SHELLOPTS
43 COMPONENT_TEST_TRANSFORMS= \
44 '-n ' \
45 '-e "/TOTAL/p" ' \
46 '-e "/PASS/p" ' \
47 '-e "/SKIP/p" ' \
48 '-e "/XFAIL/p" ' \
49 '-e "/FAIL/p" ' \
50 '-e "/XPASS/p" ' \
51 '-e "/ERROR/p" '
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES += system/library