view components/pcp/Makefile @ 471:96da3a025725

pcp: keep the init script for the smf manifest
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 05 Feb 2012 13:51:16 -0500
parents ef653bdda611
children
line wrap: on
line source

#
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2012 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
#
include ../../make-rules/shared-macros.mk

COMPONENT_NAME=		pcp
COMPONENT_VERSION=	3.5.11
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=	$(COMPONENT_SRC)-1.src.tar.gz
COMPONENT_ARCHIVE_HASH=	sha1:b28560e56b393211b139c0192cd29fb3486dd71a
COMPONENT_ARCHIVE_URL=	ftp://oss.sgi.com/projects/pcp/download/$(COMPONENT_ARCHIVE)

include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk

COMPONENT_PRE_CONFIGURE_ACTION=($(CLONEY) $(SOURCE_DIR) $(@D); cd $(@D) ; autoconf)
#COMPONENT_POST_INSTALL_ACTION=(mv $(PROTO_DIR)/usr/man $(PROTO_DIR)/usr/share/man)
CONFIGURE_SCRIPT=./configure

CONFIGURE_OPTIONS.32 += --with-64bit=no
CONFIGURE_OPTIONS.64 += --with-64bit=yes
CONFIGURE_OPTIONS +=	--mandir=/usr/share/man
CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 

COMPONENT_INSTALL_ENV += DIST_ROOT=$(PROTO_DIR)

build:		$(BUILD_32)

install:	$(INSTALL_32)

test:		$(TEST_32)

BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)

include ../../make-rules/depend.mk