5325N/A#
5325N/A# CDDL HEADER START
5325N/A#
5325N/A# The contents of this file are subject to the terms of the
5325N/A# Common Development and Distribution License (the "License").
5325N/A# You may not use this file except in compliance with the License.
5325N/A#
5325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5325N/A# or http://www.opensolaris.org/os/licensing.
5325N/A# See the License for the specific language governing permissions
5325N/A# and limitations under the License.
5325N/A#
5325N/A# When distributing Covered Code, include this CDDL HEADER in each
5325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5325N/A# If applicable, add the following below this CDDL HEADER, with the
5325N/A# fields enclosed by brackets "[]" replaced with your own identifying
5325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5325N/A#
5325N/A# CDDL HEADER END
5325N/A#
5325N/A
5325N/A#
5325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5325N/A#
5680N/ABUILD_BITS= 64_and_32
5325N/Ainclude ../../../make-rules/shared-macros.mk
5325N/A
5325N/ACOMPONENT_NAME= libspectre
6291N/ACOMPONENT_VERSION= 0.2.7
5325N/ACOMPONENT_PROJECT_URL= http://libspectre.freedesktop.org
5325N/ACOMPONENT_ARCHIVE_HASH= \
6291N/A sha256:e81b822a106beed14cf0fec70f1b890c690c2ffa150fa2eee41dc26518a6c3ec
5325N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
5325N/ACOMPONENT_BUGDB= library/libspectre
5325N/A
6291N/ATPNO= 25619
5325N/A
5680N/ATEST_TARGET= $(NO_TESTS)
6489N/A
6489N/A# Forked from evince, which cannot be published => do-not-publish.
6489N/Aifeq ($(BUILD_TYPE), evaluation)
6489N/ABUILD_32_and_64=
6489N/AINSTALL_32_and_64=
6489N/APUBLISH_STAMP=
6489N/Aendif
6489N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5325N/A
5325N/ACOMPONENT_PREP_ACTION = \
5325N/A (cd $(@D) ; \
5325N/A aclocal -I . ; \
5325N/A libtoolize --force ; \
5325N/A autoheader ; \
5325N/A automake -a -c -f ; \
5325N/A autoconf )
5325N/A
5325N/ACONFIGURE_OPTIONS += --disable-static
5325N/ACONFIGURE_OPTIONS += --enable-shared
5325N/ACONFIGURE_OPTIONS += --with-pic
5325N/A
5325N/A# Always show the build and link lines for easier debugging.
5325N/ACOMPONENT_BUILD_ARGS += V=1
5325N/A
5325N/AREQUIRED_PACKAGES += print/filter/ghostscript
7120N/AREQUIRED_PACKAGES += print/filter/ghostscript-core