#
# 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 2013 Adam Stevko. All rights reserved.
#

set name=pkg.fmri value=pkg:/library/libdaemon@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="libdaemon is a lightweight C library which eases the writing of UNIX daemons."
set name=info.classification value="org.opensolaris.category.2008:System/Libraries"
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 libdaemon.license license='LGPLv2'

file path=usr/include/libdaemon/daemon.h
file path=usr/include/libdaemon/dexec.h
file path=usr/include/libdaemon/dfork.h
file path=usr/include/libdaemon/dlog.h
file path=usr/include/libdaemon/dnonblock.h
file path=usr/include/libdaemon/dpid.h
file path=usr/include/libdaemon/dsignal.h
link path=usr/lib/libdaemon.so target=libdaemon.so.0.5.0
link path=usr/lib/libdaemon.so.0 target=libdaemon.so.0.5.0
file path=usr/lib/libdaemon.so.0.5.0
link path=usr/lib/$(MACH64)/libdaemon.so target=libdaemon.so.0.5.0
link path=usr/lib/$(MACH64)/libdaemon.so.0 target=libdaemon.so.0.5.0
file path=usr/lib/$(MACH64)/libdaemon.so.0.5.0
file path=usr/lib/$(MACH64)/pkgconfig/libdaemon.pc
file path=usr/lib/pkgconfig/libdaemon.pc
file path=usr/share/doc/libdaemon/README.html
file path=usr/share/doc/libdaemon/style.css