377N/A#
377N/A# CDDL HEADER START
377N/A#
377N/A# The contents of this file are subject to the terms of the
377N/A# Common Development and Distribution License (the "License").
377N/A# You may not use this file except in compliance with the License.
377N/A#
377N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
377N/A# or http://www.opensolaris.org/os/licensing.
377N/A# See the License for the specific language governing permissions
377N/A# and limitations under the License.
377N/A#
377N/A# When distributing Covered Code, include this CDDL HEADER in each
377N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
377N/A# If applicable, add the following below this CDDL HEADER, with the
377N/A# fields enclosed by brackets "[]" replaced with your own identifying
377N/A# information: Portions Copyright [yyyy] [name of copyright owner]
377N/A#
377N/A# CDDL HEADER END
377N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
377N/A#
3996N/A
3996N/ACOMPILER = gcc3
3996N/A
377N/Ainclude ../../make-rules/shared-macros.mk
377N/A
1273N/ACOMPONENT_NAME= openusb
377N/ACOMPONENT_VERSION= 1.0.1
1273N/ACOMPONENT_SRC_NAME= libopenusb
1273N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
377N/ACOMPONENT_PROJECT_URL= http://openusb.sourceforge.net/
377N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:031098c376f16f6030c4dbd553266e107b39d1f7b3fc366f8f7fd412d3d7c3ad
377N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/openusb/files/$(COMPONENT_NAME)/libopenusb%201.0.1/$(COMPONENT_ARCHIVE)/download
1273N/ACOMPONENT_BUGDB= library/libopenusb
377N/A
3661N/ATPNO= 8843
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
377N/A
377N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
377N/A
377N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
377N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
377N/A
377N/APATCH_LEVEL = 1
377N/A
377N/ACOMPONENT_POST_BUILD_ACTION = \
377N/A (cd $(@D)/src; $(MAKE) install-sunos-backend)
377N/A
377N/Abuild: $(BUILD_32_and_64)
377N/A
377N/Ainstall: $(INSTALL_32_and_64)
377N/A
377N/Atest: $(TEST_32_and_64)
377N/A
3996N/A
377N/A
3996N/AREQUIRED_PACKAGES += library/glib2
3996N/AREQUIRED_PACKAGES += system/hal
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/gcc-3-runtime
3996N/AREQUIRED_PACKAGES += system/library/gcc-45-runtime
3996N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3996N/AREQUIRED_PACKAGES += system/library/libdbus
3996N/AREQUIRED_PACKAGES += system/library/libdbus-glib
3996N/AREQUIRED_PACKAGES += system/linker