debian swirl logo

Back to the packages list libflickrnet

#!/usr/bin/make -f


include /usr/share/cdbs/1/rules/debhelper.mk

export MONO_SHARED_DIR := /tmp

build: debian/stamp-build build-arch build-indep
debian/stamp-build:
		(cd FlickrNet; $(SHELL) ../debian/compile.sh)
		touch $@

clean::
		$(RM) FlickrNet/FlickrNet.dll FlickrNet/FlickrNet.dll.mdb debian/stamp-build

VERSION= 2.2
install/libflickrnet$(VERSION)-cil::
		dh_install -plibflickrnet$(VERSION)-cil FlickrNet/FlickrNet.dll /usr/lib/cli/FlickrNet-$(VERSION)/

install/libflickrnet-cil-dev::
		install -m644 -D debian/flickrnet.pc $(DEB_DESTDIR)/usr/lib/pkgconfig/flickrnet.pc
		sed -i "s/@VERSION@/$(VERSION)/g" $(DEB_DESTDIR)/usr/lib/pkgconfig/flickrnet.pc
		dh_install -plibflickrnet-cil-dev

binary-install/libflickrnet$(VERSION)-cil::
		dh_installcligac -plibflickrnet$(VERSION)-cil
		dh_cligacpolicy
		dh_clifixperms

binary-predeb/libflickrnet$(VERSION)-cil::
		dh_makeclilibs -plibflickrnet$(VERSION)-cil
		dh_clideps -d

get-orig-source:
		sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)

Builds:

libflickrnet2.2-cil
flickr.net api library
libflickrnet-cil-dev
flickr.net api library