140N/A#
140N/A# CDDL HEADER START
140N/A#
140N/A# The contents of this file are subject to the terms of the
140N/A# Common Development and Distribution License (the "License").
140N/A# You may not use this file except in compliance with the License.
140N/A#
140N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
140N/A# or http://www.opensolaris.org/os/licensing.
140N/A# See the License for the specific language governing permissions
140N/A# and limitations under the License.
140N/A#
140N/A# When distributing Covered Code, include this CDDL HEADER in each
140N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
140N/A# If applicable, add the following below this CDDL HEADER, with the
140N/A# fields enclosed by brackets "[]" replaced with your own identifying
140N/A# information: Portions Copyright [yyyy] [name of copyright owner]
140N/A#
140N/A# CDDL HEADER END
140N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
140N/A#
140N/Ainclude ../../make-rules/shared-macros.mk
140N/A
140N/ACOMPONENT_NAME= gutenprint
710N/ACOMPONENT_VERSION= 5.2.7
618N/ACOMPONENT_PROJECT_URL= http://www.gutenprint.org/software/gutenprint/
140N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
140N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:114c899227e3ebb0753c1db503e6a5c1afaa4b1f1235fdfe02fb6bbd533beed1
710N/ACOMPONENT_ARCHIVE_URL= http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.7/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/gutenprint
140N/A
3661N/ATPNO= 8943
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
140N/A
140N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
140N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
140N/ACONFIGURE_OPTIONS += --enable-escputil
140N/ACONFIGURE_OPTIONS += --without-gimp2
140N/ACONFIGURE_OPTIONS += --enable-cups-1_2-enhancements
140N/ACONFIGURE_OPTIONS += --enable-shared
140N/ACONFIGURE_OPTIONS += --disable-static-genppd
140N/ACONFIGURE_OPTIONS += --enable-simplified-cups-ppds
140N/ACONFIGURE_OPTIONS += --without-foomatic
140N/ACONFIGURE_OPTIONS += --without-foomatic3
140N/ACONFIGURE_OPTIONS += --without-readline
140N/ACONFIGURE_OPTIONS += --disable-static
140N/A
140N/ACOMPONENT_BUILD_TARGETS = all
140N/A
140N/Abuild: $(BUILD_32)
140N/A
140N/Ainstall: $(INSTALL_32)
140N/A
140N/A# the tests mostly pass, but it can't find several drivers for ppd files
181N/Atest: $(TEST_32)
140N/A
140N/A
140N/A
3996N/AREQUIRED_PACKAGES += library/desktop/gtk2
3996N/AREQUIRED_PACKAGES += library/glib2
3996N/AREQUIRED_PACKAGES += library/print/cups-libs
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/linker
3996N/AREQUIRED_PACKAGES += x11/library/libx11
3996N/AREQUIRED_PACKAGES += x11/library/libxcursor