python/manuel: update to 1.13.0
[oi-userland.git] / components / image / potrace / Makefile
blob832a870e5125c894bab940a55150b53334e1588d
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.opensolaris.org/os/licensing.
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
23 # Copyright 2021 Andreas Wacknitz
26 BUILD_BITS= 32_and_64
27 PREFERRED_BITS= 64
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= potrace
31 COMPONENT_VERSION= 1.16
32 COMPONENT_SUMMARY= tool and library for tracing a bitmap, which means, transforming a bitmap into a smooth, scalable image
33 COMPONENT_PROJECT_URL= http://potrace.sourceforge.net/
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc
37 COMPONENT_ARCHIVE_URL= http://potrace.sourceforge.net/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= image/potrace
39 COMPONENT_CLASSIFICATION= Applications/Graphics and Imaging
40 COMPONENT_LICENSE= GPLv2
42 include $(WS_MAKE_RULES)/common.mk
44 CONFIGURE_OPTIONS += --sysconfdir=/etc
45 CONFIGURE_OPTIONS += --with-libpotrace=yes
46 CONFIGURE_OPTIONS += --disable-static
48 # Prevent test failure:
49 unexport SHELLOPTS
51 COMPONENT_TEST_TRANSFORMS += \
52 '-n ' \
53 '-e "/^ TOTAL:/p" ' \
54 '-e "/^ PASS:/p" ' \
55 '-e "/^ SKIP:/p" ' \
56 '-e "/^ XFAIL:/p" ' \
57 '-e "/^ FAIL:/p" ' \
58 '-e "/^ XPASS:/p" ' \
59 '-e "/^ ERROR:/p" ' \
60 '-e "/^\# /p" '
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES += library/zlib
64 REQUIRED_PACKAGES += system/library
65 REQUIRED_PACKAGES += system/library/math