1880N/A#
1880N/A# CDDL HEADER START
1880N/A#
1880N/A# The contents of this file are subject to the terms of the
1880N/A# Common Development and Distribution License (the "License").
1880N/A# You may not use this file except in compliance with the License.
1880N/A#
1880N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1880N/A# or http://www.opensolaris.org/os/licensing.
1880N/A# See the License for the specific language governing permissions
1880N/A# and limitations under the License.
1880N/A#
1880N/A# When distributing Covered Code, include this CDDL HEADER in each
1880N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1880N/A# If applicable, add the following below this CDDL HEADER, with the
1880N/A# fields enclosed by brackets "[]" replaced with your own identifying
1880N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1880N/A#
1880N/A# CDDL HEADER END
1880N/A#
1880N/A
1880N/A#
3789N/A# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1880N/A#
1880N/A
1880N/Ainclude ../../../make-rules/shared-macros.mk
1880N/A
1880N/ACOMPONENT_NAME= MySQL-python
4070N/ACOMPONENT_VERSION= 1.2.5
1880N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4070N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).zip
1880N/ACOMPONENT_ARCHIVE_HASH= \
4070N/A sha256:811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74
4070N/ACOMPONENT_ARCHIVE_URL= $(call pypi_url)
4070N/ACOMPONENT_PROJECT_URL= https://github.com/farcepest/MySQLdb1
1880N/ACOMPONENT_BUGDB= python-mod/mysql
1880N/A
4070N/ATPNO= 21723
3661N/A
3778N/A# Syntax issues: not Python 3 ready.
3794N/APYTHON_VERSIONS= 2.7 2.6
3778N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
1880N/A
4070N/A# Remove trailing carriage returns, if present, in the files.
4070N/ACOMPONENT_POST_UNPACK_ACTION = \
4070N/A /usr/bin/find $(SOURCE_DIR) -type f -exec $(GSED) -i 's/\r//' '{}' \; ;
4070N/A
4070N/APATH_32= /usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
4070N/APATH_64= /usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
4070N/ACOMPONENT_BUILD_ENV += PATH=$(PATH_$(BITS)):$(PATH)
4070N/ACOMPONENT_INSTALL_ENV += PATH=$(PATH_$(BITS)):$(PATH)
3789N/A
3789N/ACFLAGS_32= -L/usr/mysql/5.5/lib -R/usr/mysql/5.5/lib
3789N/ACFLAGS_64= -L/usr/mysql/5.5/lib/$(MACH64) -R/usr/mysql/5.5/lib/$(MACH64)
3789N/ACFLAGS += $(CFLAGS_$(BITS))
1880N/A
4070N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1880N/A
4070N/A# common targets
4070N/Abuild: $(BUILD_32_and_64)
1880N/A
4070N/Ainstall: $(INSTALL_32_and_64)
4070N/A
4070N/Atest: $(NO_TESTS)
1880N/A
1880N/A
3996N/AREQUIRED_PACKAGES += database/mysql-55/library
3996N/AREQUIRED_PACKAGES += system/library
4561N/AREQUIRED_PACKAGES += system/library/math