220N/A#
220N/A# CDDL HEADER START
220N/A#
220N/A# The contents of this file are subject to the terms of the
220N/A# Common Development and Distribution License (the "License").
220N/A# You may not use this file except in compliance with the License.
220N/A#
220N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
220N/A# or http://www.opensolaris.org/os/licensing.
220N/A# See the License for the specific language governing permissions
220N/A# and limitations under the License.
220N/A#
220N/A# When distributing Covered Code, include this CDDL HEADER in each
220N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
220N/A# If applicable, add the following below this CDDL HEADER, with the
220N/A# fields enclosed by brackets "[]" replaced with your own identifying
220N/A# information: Portions Copyright [yyyy] [name of copyright owner]
220N/A#
220N/A# CDDL HEADER END
220N/A#
220N/A
220N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
220N/A#
220N/Ainclude ../../make-rules/shared-macros.mk
220N/A
220N/ACOMPONENT_NAME= cups
220N/ACOMPONENT_VERSION= 1.4.5
220N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
220N/ACOMPONENT_PROJECT_URL= http://www.cups.org/
220N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-source.tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:0450d6d8e6e8af225d2a3319c848737d76473a6c7579cf97c52086d0371c0efe
220N/ACOMPONENT_ARCHIVE_URL= http://ftp.easysw.com/pub/cups/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/cups
220N/A
3661N/ATPNO= 17705
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
220N/A
220N/ACXX += $(studio_NORUNPATH)
220N/A
514N/A# don't use LD_Z_IGNORE: causes linker problems
514N/ALD_Z_IGNORE=
514N/A
220N/ACONFIGURE_OPTIONS += --prefix=/usr
220N/ACONFIGURE_OPTIONS += --mandir=/usr/share/man
220N/ACONFIGURE_OPTIONS += --localedir=$(USRSHARELOCALEDIR)
220N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
220N/ACONFIGURE_OPTIONS += --localstatedir=/var
220N/ACONFIGURE_OPTIONS += --with-fontpath=/usr/openwin/lib
220N/ACONFIGURE_OPTIONS += --with-logdir=/var/log/cups
220N/ACONFIGURE_OPTIONS += --with-domainsocket=/var/run/cups-socket
220N/ACONFIGURE_OPTIONS += --with-smfmanifestdir=/lib/svc/manifest/application
220N/ACONFIGURE_OPTIONS += --with-printcap=/etc/printers.conf
220N/ACONFIGURE_OPTIONS += --with-cups-user=lp
220N/ACONFIGURE_OPTIONS += --with-cups-group=lp
220N/ACONFIGURE_OPTIONS += --disable-static
220N/ACONFIGURE_OPTIONS += --disable-gnutls
220N/ACONFIGURE_OPTIONS += --disable-libusb
220N/ACONFIGURE_OPTIONS += --enable-labeling
220N/ACONFIGURE_OPTIONS += --enable-openssl
220N/ACONFIGURE_OPTIONS += --enable-dbus
220N/ACONFIGURE_OPTIONS += --enable-threads
220N/ACONFIGURE_OPTIONS += --enable-64bit
1419N/ACONFIGURE_OPTIONS += --enable-auditing
220N/A
220N/ACONFIGURE_OPTIONS += ARCH64FLAGS=-m64
220N/ACONFIGURE_OPTIONS += DSO64FLAGS="$(LDLIBS) -G"
220N/ACONFIGURE_OPTIONS += "ac_cv_search_getifaddrs=no"
220N/ACONFIGURE_OPTIONS += "ac_cv_func_statfs=no"
220N/A
220N/A$(BUILD_DIR)/%/.installed: ENV += DSTROOT="$(PROTO_DIR)"
220N/A
220N/APATCH_LEVEL = 0
220N/A
220N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
220N/A $(CLONEY) $(SOURCE_DIR) $(@D) ; \
220N/A find $(@D) -name '*.in' | sed -e 's/.in$$//' | xargs $(RM) ; \
220N/A ( cd $(SOURCE_DIR) ; autoconf -f )
220N/A
220N/A# install the default config file
220N/ACOMPONENT_POST_INSTALL_ACTION = \
220N/A $(TOUCH) $(PROTOETCDIR)/cups/command.types ; \
220N/A $(MV) $(PROTOUSRLIBDIR)/64 $(PROTOUSRLIBDIR)/$(MACH64)
220N/A
220N/A# common targets
220N/Abuild: $(BUILD_32)
220N/A
220N/Ainstall: $(INSTALL_32)
220N/A
220N/Atest: $(NO_TESTS)
220N/A
220N/A
3996N/AREQUIRED_PACKAGES += image/library/libjpeg
3996N/AREQUIRED_PACKAGES += image/library/libpng
3996N/AREQUIRED_PACKAGES += image/library/libtiff
3996N/AREQUIRED_PACKAGES += library/print/cups-libs
3996N/AREQUIRED_PACKAGES += library/security/openssl
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += runtime/perl-512
3996N/AREQUIRED_PACKAGES += service/network/slp
3996N/AREQUIRED_PACKAGES += service/security/kerberos-5
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/c++-runtime
3996N/AREQUIRED_PACKAGES += system/library/libdbus
3996N/AREQUIRED_PACKAGES += system/library/math
3996N/AREQUIRED_PACKAGES += system/library/security/gss
3996N/AREQUIRED_PACKAGES += system/linker