components/cdrtools/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Tue, 09 Feb 2016 15:21:35 -0800
changeset 5427 25b736152081
parent 5066 7e7b4d607ab6
child 5682 94c0ca64c022
permissions -rw-r--r--
15814060 SUNBT7196216 userland build mangles PKG_MACROS containing whitespace 15810599 SUNBT7192098 human readable version in shell/ksh93 isn't 22665937 various components have unresolved or unused macros in package manifests 22666022 PYVER, PERLVER, RUBY_VERSION mechanism leaves macros unresolved in GENFRAG case

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
#

include ../../make-rules/shared-macros.mk

COMPONENT_NAME=         cdrtools
COMPONENT_VERSION=      3.01
# Zero not allowed in front of number
IPS_COMPONENT_VERSION=  3.1
COMPONENT_SUBVERSION=   a22
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_PROJECT_URL= 	http://cdrecord.berlios.de/private/cdrecord.html 
COMPONENT_ARCHIVE=      $(COMPONENT_SRC)$(COMPONENT_SUBVERSION).tar.gz
COMPONENT_ARCHIVE_HASH=	\
    sha256:facd40dc66f1499dfe936e647b694bee7a12cd63afd901a35bec855d9e3600a5
COMPONENT_ARCHIVE_URL=  ftp://ftp.berlios.de/pub/cdrecord/alpha/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB=	utility/cdrtools

TPNO=			6305

PATH=			$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
endif

include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk

COMPONENT_INSTALL_ARGS +=  GMAKE_NOWARN=true
COMPONENT_INSTALL_ARGS +=  CCOM=cc64
COMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
ifeq   ($(strip $(PARFAIT_BUILD)),yes)
COMPONENT_BUILD_ENV +=	"ac_cv_exeext=no"
COMPONENT_BUILD_ENV +=	"ac_cv_objext=o"
endif
COMPONENT_BUILD_ARGS += CCOM=cc64
# cdrtools doesn't work with gmake for sparc 64-bit compile.
GMAKE = $(CCSMAKE)

# Enable ASLR for this component
ASLR_MODE =    $(ASLR_ENABLE)

build:          $(BUILD_64)

install:        $(INSTALL_64)

test:		$(NO_TESTS)

system-test:    $(NO_TESTS)


REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library