commit | author | age
|
0163ed
|
1 |
# |
AL |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
0841de
|
21 |
# Copyright (c) 2015-2017, Aurelien Larcher. All rights reserved. |
0163ed
|
22 |
# |
edab25
|
23 |
include ../../../make-rules/shared-macros.mk |
0163ed
|
24 |
|
AL |
25 |
COMPONENT_NAME= libodfgen |
edab25
|
26 |
COMPONENT_VERSION= 0.1.6 |
0841de
|
27 |
COMPONENT_REVISION= 1 |
0163ed
|
28 |
COMPONENT_FMRI= library/c++/libodfgen |
AL |
29 |
COMPONENT_CLASSIFICATION= System/Libraries |
|
30 |
COMPONENT_PROJECT_URL= https://sourceforge.net/p/libwpd/wiki/libodfgen/ |
|
31 |
COMPONENT_SUMMARY= libodfgen - ODF export library using librevenge |
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
edab25
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
AL |
35 |
sha256:03b210ab44f05e38091508cdca6ba0ff73de3ea8a168f849b8f1c5059c20b9e9 |
|
36 |
COMPONENT_ARCHIVE_URL= \ |
|
37 |
http://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
0163ed
|
38 |
COMPONENT_LICENSE= LGPLv2.1 MPLv2 |
AL |
39 |
|
0841de
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
AL |
41 |
include $(WS_MAKE_RULES)/configure.mk |
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
|
43 |
|
|
44 |
# Fix threading detection issue with boost 1.64 |
|
45 |
CXXFLAGS+= -pthread |
0163ed
|
46 |
|
AL |
47 |
CONFIGURE_OPTIONS+= --enable-shared |
|
48 |
CONFIGURE_OPTIONS+= --disable-static |
|
49 |
|
0841de
|
50 |
build: $(BUILD_32_and_64) |
0163ed
|
51 |
|
0841de
|
52 |
install: $(INSTALL_32_and_64) |
0163ed
|
53 |
|
AL |
54 |
test: $(NO_TESTS) |
|
55 |
|
edab25
|
56 |
# Build dependencies |
AL |
57 |
REQUIRED_PACKAGES += system/library/boost |
0163ed
|
58 |
|
edab25
|
59 |
# Auto-generated dependencies |
AL |
60 |
REQUIRED_PACKAGES += library/c++/librevenge |
|
61 |
REQUIRED_PACKAGES += system/library |
f5010f
|
62 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
969846
|
63 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
edab25
|
64 |
REQUIRED_PACKAGES += system/library/math |