components/foomatic/filters/Makefile
author Petr Cvachoucek <petr.cvachoucek@oracle.com>
Tue, 29 May 2012 01:30:16 -0700
branchs11-sru
changeset 2283 649912414225
parent 335 223d5bf98b72
permissions -rw-r--r--
6953366 Update foomatic to v4.0.15 7076448 Problem with print/foomatic
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     1
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     3
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     7
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    12
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    18
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    20
#
2283
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    21
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    22
#
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    23
include ../../../make-rules/shared-macros.mk
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    24
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    25
COMPONENT_NAME=		foomatic-filters
2283
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    26
COMPONENT_VERSION=	4.0.15
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
2283
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    28
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    30
    sha256:f5b7b67aacedec4c0294d242cbffbe0d7d3cd0fdd2b410c055e818f25ed3bc79
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://www.openprinting.org/download/foomatic/$(COMPONENT_ARCHIVE)
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    32
COMPONENT_PROJECT_URL=	http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    33
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    34
include ../../../make-rules/prep.mk
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    35
include ../../../make-rules/configure.mk
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    36
include ../../../make-rules/ips.mk
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    37
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    38
CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
2283
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    39
CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/gnu
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    40
CONFIGURE_OPTIONS +=	--bindir=$(USRLIBDIR)/lp/bin
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    41
CONFIGURE_OPTIONS +=	--with-echo=wecho
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=	--with-file-converter="a2ps -1 -q -c -B @@[email protected]@[email protected]@ -o -"
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=	--with-execpath=$(USRLIBDIR)/lp/bin:$(USRBINDIR):$(BINDIR)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=	PERL=$(PERL)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=	A2PS=$(USRBINDIR)/a2ps
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    47
2283
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    48
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
649912414225 6953366 Update foomatic to v4.0.15
Petr Cvachoucek <petr.cvachoucek@oracle.com>
parents: 335
diff changeset
    49
335
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    50
# common targets
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    51
build:		$(BUILD_32)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    52
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    53
install:	$(INSTALL_32)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    54
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    55
test:		$(NO_TESTS)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    56
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    57
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    58
223d5bf98b72 7049357 Move foomatic-* stuff to Userland.
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff changeset
    59
include ../../../make-rules/depend.mk