openssl-1.1: add patches for CVE-2024-2511 and CVE-2024-4741
[oi-userland.git] / components / library / libepubgen / Makefile
blobfd699fde16cf5404cfd1cbefb2e902ac2c35eb40
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2020, Aurelien Larcher. All rights reserved.
24 BUILD_BITS= 64
25 USE_DEFAULT_TEST_TRANSFORMS= yes
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= libepubgen
29 COMPONENT_VERSION= 0.1.1
30 COMPONENT_REVISION= 3
31 COMPONENT_FMRI= library/c++/libepubgen
32 COMPONENT_CLASSIFICATION=System/Libraries
33 COMPONENT_PROJECT_URL= https://sourceforge.net/projects/libepubgen/
34 COMPONENT_SUMMARY= libepubgen - EPUB generator for librevenge
35 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
37 COMPONENT_ARCHIVE_HASH= sha256:03e084b994cbeffc8c3dd13303b2cb805f44d8f2c3b79f7690d7e3fc7f6215ad
38 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/libepubgen/files/libepubgen-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
39 COMPONENT_LICENSE= MPLv2
40 COMPONENT_LICENSE_FILE= COPYING
42 include $(WS_MAKE_RULES)/common.mk
44 # Fix threading detection issue with boost 1.64
45 CXXFLAGS += -pthread
47 CONFIGURE_OPTIONS += --enable-shared
48 CONFIGURE_OPTIONS += --disable-static
49 CONFIGURE_OPTIONS += --without-docs
51 unexport SHELLOPTS
53 # Build dependencies
54 REQUIRED_PACKAGES += developer/cppunit
55 REQUIRED_PACKAGES += system/library/boost
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
59 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
60 REQUIRED_PACKAGES += library/c++/librevenge
61 REQUIRED_PACKAGES += system/library
62 REQUIRED_PACKAGES += system/library/math