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
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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libotr
22 COMPONENT_VERSION
= 4.1.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
) && \
39 libtoolize
--automake
--copy
--force && \
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