Makefile revision 5355
5223N/A#
5223N/A# CDDL HEADER START
5223N/A#
5223N/A# The contents of this file are subject to the terms of the
5223N/A# Common Development and Distribution License (the "License").
5223N/A# You may not use this file except in compliance with the License.
5223N/A#
5223N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5223N/A# or http://www.opensolaris.org/os/licensing.
5223N/A# See the License for the specific language governing permissions
5223N/A# and limitations under the License.
5223N/A#
5223N/A# When distributing Covered Code, include this CDDL HEADER in each
5223N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5223N/A# If applicable, add the following below this CDDL HEADER, with the
5223N/A# fields enclosed by brackets "[]" replaced with your own identifying
5223N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5223N/A#
5223N/A# CDDL HEADER END
5223N/A#
5223N/A
5223N/A#
5355N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5223N/A#
5223N/A
5223N/Ainclude ../../make-rules/shared-macros.mk
5223N/A
5223N/ACOMPONENT_NAME= irssi
5223N/ACOMPONENT_VERSION= 0.8.15
5223N/ACOMPONENT_PROJECT_URL= https://irssi.org/
5223N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5223N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5223N/ACOMPONENT_ARCHIVE_HASH=\
5223N/A sha256:c12d16fb605103d7c256ddce44012dc396af57f3771e086d0387c195a052a0a6
5223N/ACOMPONENT_ARCHIVE_URL= https://github.com/irssi-import/irssi/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
5223N/ACOMPONENT_BUGDB= utility/irssi
5223N/A
5223N/ATPNO= 7900
5223N/A
5223N/Ainclude $(WS_MAKE_RULES)/prep.mk
5223N/Ainclude $(WS_MAKE_RULES)/configure.mk
5223N/Ainclude $(WS_MAKE_RULES)/ips.mk
5223N/A
5223N/AASLR_MODE = $(ASLR_ENABLE)
5223N/A
5223N/A# Part of the build just runs "cc" (not the path that configure finds).
5223N/ACOMPONENT_BUILD_ENV += PATH=$(dir $(CC)):$(PATH)
5223N/A
5355N/A# Need 64-bit perl.
5355N/APERL_VERSION = 5.20
5355N/A
5355N/ACONFIGURE_ENV += "ac_cv_path_perlpath=/usr/perl5/$(PERL_VERSION)/bin/perl"
5355N/A
5355N/A# Architecture specific perl subdirectory.
5355N/APERL_ARCH_i386 = i86pc
5355N/APERL_ARCH_sparc = sun4
5355N/APERL_ARCH = $(PERL_ARCH_$(MACH))-solaris-thread-multi-64
5355N/A
5355N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5355N/A
5355N/ACONFIGURE_OPTIONS += --bindir=/usr/bin
5223N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
5223N/ACONFIGURE_OPTIONS += --with-perl=yes
5223N/ACONFIGURE_OPTIONS += --with-proxy
5223N/ACONFIGURE_OPTIONS += --with-perl-lib=/usr/perl5/vendor_perl/$(PERL_VERSION)
5223N/A
5355N/Aconfigure: $(CONFIGURE_64)
5223N/A
5355N/Abuild: $(BUILD_64)
5223N/A
5355N/Ainstall: $(INSTALL_64)
5223N/A
5223N/Atest: $(NO_TESTS)
5223N/A
5223N/Asystem-test: $(NO_TESTS)
5223N/A
5223N/AREQUIRED_PACKAGES += library/glib2
5223N/AREQUIRED_PACKAGES += library/ncurses
5223N/AREQUIRED_PACKAGES += library/security/openssl
5355N/AREQUIRED_PACKAGES += runtime/perl-520
5223N/AREQUIRED_PACKAGES += system/library