components/gutenprint/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 27 Apr 2012 13:23:29 -0700
changeset 800 2ad056ed89ec
parent 693 15d71a1e47d6
child 1058 34d7aaa03423
permissions -rw-r--r--
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile 7164671 BUILD_TOOLS should point to on11update-tools now
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
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 693
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 693
diff changeset
    31
    sha256:114c899227e3ebb0753c1db503e6a5c1afaa4b1f1235fdfe02fb6bbd533beed1
693
15d71a1e47d6 6948608 Update Gutenprint to version 5.2.7
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 609
diff changeset
    32
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
    33
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    34
include ../../make-rules/prep.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    35
include ../../make-rules/configure.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    36
include ../../make-rules/ips.mk
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    37
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    38
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    39
CONFIGURE_OPTIONS +=	 --infodir=$(CONFIGURE_INFODIR)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    40
CONFIGURE_OPTIONS +=    --enable-escputil
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    41
CONFIGURE_OPTIONS +=    --without-gimp2
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=    --enable-cups-1_2-enhancements
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=    --enable-shared
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=    --disable-static-genppd
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=    --enable-simplified-cups-ppds
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=    --without-foomatic
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=    --without-foomatic3
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS +=    --without-readline
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    49
CONFIGURE_OPTIONS +=    --disable-static
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    50
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    51
COMPONENT_BUILD_TARGETS = all
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    52
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    53
build:		$(BUILD_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    54
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    55
install:	$(INSTALL_32)
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    56
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    57
# 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
    58
test:		$(TEST_32)
140
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    59
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    60
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
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
099c5c598ba7 7019286 move gutenprint to userland
Keerthi Kondaka <Keerthi.Kondaka@Sun.COM>
parents:
diff changeset
    63
include ../../make-rules/depend.mk