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

# Transforms


<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
set name=pkg.fmri \
    value=pkg:/library/security/libmhash@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.description \
    value="MHash hash algorithm library"
set name=pkg.summary value="MHash hash algorithm library"
set name=info.classification \
    value=org.opensolaris.category.2008:System/Security
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 mhash.license license="LGPLv2"

file path=usr/include/mhash.h
file path=usr/include/mutils/mglobal.h
file path=usr/include/mutils/mhash.h
file path=usr/include/mutils/mhash_config.h
file path=usr/include/mutils/mincludes.h
file path=usr/include/mutils/mtypes.h
file path=usr/include/mutils/mutils.h
file path=usr/lib/$(MACH64)/libmhash.so.2.0.1
file path=usr/lib/libmhash.so.2.0.1
file path=usr/share/man/man3/mhash.3

link path=usr/lib/$(MACH64)/libmhash.so target=libmhash.so.2.0.1
link path=usr/lib/$(MACH64)/libmhash.so.2 target=libmhash.so.2.0.1
link path=usr/lib/libmhash.so target=libmhash.so.2.0.1
link path=usr/lib/libmhash.so.2 target=libmhash.so.2.0.1