248N/A#
248N/A# CDDL HEADER START
248N/A#
248N/A# The contents of this file are subject to the terms of the
248N/A# Common Development and Distribution License (the "License").
248N/A# You may not use this file except in compliance with the License.
248N/A#
248N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
248N/A# or http://www.opensolaris.org/os/licensing.
248N/A# See the License for the specific language governing permissions
248N/A# and limitations under the License.
248N/A#
248N/A# When distributing Covered Code, include this CDDL HEADER in each
248N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
248N/A# If applicable, add the following below this CDDL HEADER, with the
248N/A# fields enclosed by brackets "[]" replaced with your own identifying
248N/A# information: Portions Copyright [yyyy] [name of copyright owner]
248N/A#
248N/A# CDDL HEADER END
248N/A#
248N/A
248N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
248N/A#
5680N/ABUILD_BITS= 64_and_32
6581N/ACOMPILER= gcc
248N/Ainclude ../../make-rules/shared-macros.mk
248N/A
248N/ACOMPONENT_NAME= libtorrent
6930N/ACOMPONENT_VERSION= 0.13.6
6930N/ACOMPONENT_PROJECT_URL= https://rakshasa.github.io/rtorrent/
844N/ACOMPONENT_ARCHIVE_HASH= \
6930N/A sha256:2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04
6930N/ACOMPONENT_ARCHIVE_URL= http://rtorrent.net/downloads/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/rtorrent
248N/A
6930N/ATPNO= 24572
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
6581N/A
6581N/A# Needs updated sigcpp, not available on S11.
6581N/Aifeq ($(BUILD_TYPE), evaluation)
6581N/ABUILD_32_and_64=
6581N/AINSTALL_32_and_64=
6581N/APUBLISH_STAMP=
6581N/Aendif
6581N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
248N/A
248N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
248N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
248N/A
6930N/A# Uses aclocal-1.14 by default, which we don't have.
6930N/ACOMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -fiv)
248N/A
6581N/ACXXFLAGS += -std=c++11
248N/A
248N/ACONFIGURE_OPTIONS += --enable-shared
248N/ACONFIGURE_OPTIONS += --disable-debug
248N/ACONFIGURE_OPTIONS += --disable-static
5680N/ACONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_$(BITS))
248N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
248N/A
6930N/AREQUIRED_PACKAGES += developer/build/automake-115
6997N/AREQUIRED_PACKAGES += developer/c++/cppunit
3817N/AREQUIRED_PACKAGES += library/c++/sigcpp
3817N/AREQUIRED_PACKAGES += library/security/openssl
6930N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
6930N/AREQUIRED_PACKAGES += library/zlib
6581N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6581N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6581N/AREQUIRED_PACKAGES += system/library/math