jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / libotr / Makefile
blob114a978699b5ae35322e8a21f3308daa55ac7888
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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2020 Andreas Wacknitz
17 BUILD_BITS= 32_and_64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libotr
22 COMPONENT_VERSION= 4.1.1
23 COMPONENT_REVISION= 1
24 COMPONENT_SUMMARY= Off-the-Record Messaging library
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5
29 COMPONENT_ARCHIVE_URL= \
30 http://www.cypherpunks.ca/otr/$(COMPONENT_ARCHIVE)
31 COMPONENT_PROJECT_URL = https://otr.cypherpunks.ca/
33 TEST_TARGET: $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 COMPONENT_PREP_ACTION = ( cd $(@D) && \
37 aclocal -I. && \
38 autoheader && \
39 libtoolize --automake --copy --force && \
40 automake -a -f -c &&\
41 autoconf )
43 COMPONENT_PRE_CONFIGURE_ACTION = ( $(CLONEY) $(SOURCE_DIR) $(@D) )
45 # Parallel builds hang on some systems:
46 COMPONENT_BUILD_ARGS= -j1
48 CONFIGURE_OPTIONS += --sysconfdir=/etc
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/security/libgcrypt