debian swirl logo

Back to the packages list avahi-sharp

#! /usr/bin/make -f 

# Filter out the mono packages on architectures that don't support it
#
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

# List any files which are not installed
include /usr/share/cdbs/1/rules/utils.mk

common-binary-post-install-indep:: list-missing

DEB_CONFIGURE_EXTRA_FLAGS += MCS=/usr/bin/mono-csc

install/libavahi1.0-cil::
	# copy files to the location required by the CLI policy
		mkdir -p debian/tmp/usr/lib/cli/avahi-sharp-1.0
		cp avahi-sharp/avahi-sharp.dll debian/tmp/usr/lib/cli/avahi-sharp-1.0
		cp avahi-sharp/avahi-sharp.dll.config debian/tmp/usr/lib/cli/avahi-sharp-1.0
		cp avahi-sharp/avahi-sharp.dll.mdb debian/tmp/usr/lib/cli/avahi-sharp-1.0

install/libavahi-ui0.0-cil::
	# copy files to the location required by the CLI policy
		mkdir -p debian/tmp/usr/lib/cli/avahi-ui-sharp-0.0
		cp avahi-ui-sharp/avahi-ui-sharp.dll debian/tmp/usr/lib/cli/avahi-ui-sharp-0.0
		cp avahi-ui-sharp/avahi-ui-sharp.dll.config debian/tmp/usr/lib/cli/avahi-ui-sharp-0.0
		cp avahi-ui-sharp/avahi-ui-sharp.dll.mdb debian/tmp/usr/lib/cli/avahi-ui-sharp-0.0

export MONO_SHARED_DIR= $(CURDIR)

binary-install/libavahi1.0-cil::
		dh_installcligac -plibavahi1.0-cil

binary-install/libavahi-ui0.0-cil::
		dh_installcligac -plibavahi-ui0.0-cil

binary-predeb/libavahi1.0-cil::
		dh_clifixperms
		dh_makeclilibs -plibavahi1.0-cil -m0.6.10
		dh_clideps -d

binary-predeb/libavahi-ui0.0-cil::
		dh_clifixperms
		dh_makeclilibs -plibavahi-ui0.0-cil -m0.6.19
		dh_clideps -d

clean::
		rm -rf $(MONO_SHARED_DIR)/.wapi
		rm -f avahi-sharp/avahi-sharp-docs.zip \
		    avahi-sharp/avahi-sharp-docs.tree
		rm -f avahi-ui-sharp/avahi-ui-sharp-docs.zip \
		    avahi-ui-sharp/avahi-ui-sharp-docs.tree

Builds:

libavahi1.0-cil
cli bindings for avahi
libavahi-cil-dev
cli bindings for avahi
libavahi-ui0.0-cil
cli bindings for avahi ui
libavahi-ui-cil-dev
cli bindings for avahi ui
monodoc-avahi-manual
compiled xml documentation for the cli bindings of avahi