components/gutenprint/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Tue, 20 Mar 2012 09:27:53 -0700
changeset 739 fd5e421b1434
parent 693 15d71a1e47d6
child 800 2ad056ed89ec
permissions -rw-r--r--
7085609 openexr and ilmbase need license file upgrade 7085613 libmng needs license file upgrade 7085624 lighttpd needs TPNO and license file modifications 7085966 iperf needs TPNO and license file modifications 7085948 swig needs TPNO and license file modifications 7085963 tcpdump needs TPNO and license file modifications 7085967 Lua needs TPNO and license file modifications 7123118 libxslt needs TPNO and license file modifications 7123119 libxml2 needs TPNO and license file modifications 7133262 areca needs TPNO and license file modifications 7151922 autogen needs TPNO and license file modifications
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     1
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     3
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     7
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    12
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    18
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    20
#
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    21
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    22
#
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    24
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		gutenprint
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    26
COMPONENT_VERSION=	5.2.7
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    27
COMPONENT_PROJECT_URL=	http://www.gutenprint.org/software/gutenprint/
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	sha1:e49c259607dc6372d4f6316a26fb146715c437c8
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://voxel.dl.sourceforge.net/project/gimp-print/gutenprint-5.2/5.2.7/$(COMPONENT_ARCHIVE)
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    32
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    33
include ../../make-rules/prep.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    34
include ../../make-rules/configure.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    35
include ../../make-rules/ips.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    36
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    37
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    38
CONFIGURE_OPTIONS +=	 --infodir=$(CONFIGURE_INFODIR)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    39
CONFIGURE_OPTIONS +=    --enable-escputil
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    40
CONFIGURE_OPTIONS +=    --without-gimp2
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    41
CONFIGURE_OPTIONS +=    --enable-cups-1_2-enhancements
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=    --enable-shared
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=    --disable-static-genppd
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=    --enable-simplified-cups-ppds
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=    --without-foomatic
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=    --without-foomatic3
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=    --without-readline
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS +=    --disable-static
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    49
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    50
COMPONENT_BUILD_TARGETS = all
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    51
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    52
build:		$(BUILD_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    53
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    54
install:	$(INSTALL_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    55
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    56
# the tests mostly pass, but it can't find several drivers for ppd files
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 140
diff changeset
    57
test:		$(TEST_32)
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    58
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    59
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    60
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    61
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    62
include ../../make-rules/depend.mk