commit | author | age
|
e26cb0
|
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 |
# |
b81863
|
21 |
# Copyright (c) 2015-2017, Aurelien Larcher. All rights reserved. |
e26cb0
|
22 |
# |
b81863
|
23 |
include ../../../make-rules/shared-macros.mk |
e26cb0
|
24 |
|
AL |
25 |
COMPONENT_NAME= libwpg |
25bfc1
|
26 |
COMPONENT_VERSION= 0.3.2 |
e26cb0
|
27 |
COMPONENT_FMRI= library/c++/libwpg |
AL |
28 |
COMPONENT_CLASSIFICATION= System/Libraries |
|
29 |
COMPONENT_PROJECT_URL= https://sourceforge.net/projects/libwpg |
|
30 |
COMPONENT_SUMMARY= libwpg - library for importing and converting Corel WordPerfect(tm) Graphics images |
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
b81863
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
25bfc1
|
34 |
sha256:57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33 |
b81863
|
35 |
COMPONENT_ARCHIVE_URL= \ |
AL |
36 |
http://sourceforge.net/projects/libwpg/files/libwpg/libwpg-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
e26cb0
|
37 |
COMPONENT_LICENSE= LGPLv2.1 MPLv2 |
AL |
38 |
|
b81863
|
39 |
include $(WS_MAKE_RULES)/prep.mk |
AL |
40 |
include $(WS_MAKE_RULES)/configure.mk |
|
41 |
include $(WS_MAKE_RULES)/ips.mk |
e26cb0
|
42 |
|
AL |
43 |
CONFIGURE_OPTIONS+= --enable-shared |
|
44 |
CONFIGURE_OPTIONS+= --disable-static |
|
45 |
|
d00022
|
46 |
build: $(BUILD_32_and_64) |
e26cb0
|
47 |
|
d00022
|
48 |
install: $(INSTALL_32_and_64) |
e26cb0
|
49 |
|
AL |
50 |
test: $(NO_TESTS) |
|
51 |
|
b81863
|
52 |
# Auto-generated dependencies |
AL |
53 |
REQUIRED_PACKAGES += library/c++/librevenge |
|
54 |
REQUIRED_PACKAGES += library/c++/libwpd |
|
55 |
REQUIRED_PACKAGES += runtime/perl-522 |
|
56 |
REQUIRED_PACKAGES += system/library |
f5010f
|
57 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
969846
|
58 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
b81863
|
59 |
REQUIRED_PACKAGES += system/library/math |