#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 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 2022 Friedrich Kink. All rights reserved.
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file path=usr/bin/odbx-sql
file path=usr/include/odbx.h
file path=usr/include/opendbx/api
file path=usr/include/opendbx/api.h
link path=usr/lib/$(MACH64)/libopendbx.so target=libopendbx.so.1.2.0
link path=usr/lib/$(MACH64)/libopendbx.so.1 target=libopendbx.so.1.2.0
file path=usr/lib/$(MACH64)/libopendbx.so.1.2.0
link path=usr/lib/$(MACH64)/libopendbxplus.so target=libopendbxplus.so.1.0.0
link path=usr/lib/$(MACH64)/libopendbxplus.so.1 target=libopendbxplus.so.1.0.0
file path=usr/lib/$(MACH64)/libopendbxplus.so.1.0.0
link path=usr/lib/$(MACH64)/opendbx/libmysqlbackend.so \
    target=libmysqlbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libmysqlbackend.so.1 \
    target=libmysqlbackend.so.1.2.0
file path=usr/lib/$(MACH64)/opendbx/libmysqlbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libodbcbackend.so \
    target=libodbcbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libodbcbackend.so.1 \
    target=libodbcbackend.so.1.2.0
file path=usr/lib/$(MACH64)/opendbx/libodbcbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libpgsqlbackend.so \
    target=libpgsqlbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libpgsqlbackend.so.1 \
    target=libpgsqlbackend.so.1.2.0
file path=usr/lib/$(MACH64)/opendbx/libpgsqlbackend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libsqlite3backend.so \
    target=libsqlite3backend.so.1.2.0
link path=usr/lib/$(MACH64)/opendbx/libsqlite3backend.so.1 \
    target=libsqlite3backend.so.1.2.0
file path=usr/lib/$(MACH64)/opendbx/libsqlite3backend.so.1.2.0
file path=usr/lib/$(MACH64)/pkgconfig/opendbx.pc
file path=usr/lib/$(MACH64)/pkgconfig/opendbxplus.pc
file path=usr/share/locale/de/LC_MESSAGES/opendbx-utils.mo
file path=usr/share/locale/de/LC_MESSAGES/opendbx.mo
file path=usr/share/locale/en@quot/LC_MESSAGES/opendbx-utils.mo
file path=usr/share/locale/en@quot/LC_MESSAGES/opendbx.mo
file path=usr/share/opendbx/keywords