debian swirl logo

Back to the packages list cowbell

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

export NOCONFIGURE= 1
DEB_DH_AUTORECONF_ARGS += /usr/bin/gnome-autogen.sh

DEB_CONFIGURE_EXTRA_FLAGS += --disable-static CSC=/usr/bin/mono-csc
DEB_INSTALL_MANPAGES_cowbell += debian/cowbell.1
export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export MONO_SHARED_DIR= $(CURDIR)

install/cowbell::
	# build manpage
		/usr/bin/xsltproc --nonet -o debian/cowbell.1 \
			/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \
			debian/cowbell.1.xml
	# remove .la and .a file for the taglib glue
		rm -f debian/cowbell/usr/lib/cowbell/libtaglibsharpglue.la \
			debian/cowbell/usr/lib/cowbell/libtaglibsharpglue.a
		
common-binary-predeb-arch::
		dh_clifixperms
		dh_clideps -d

clean::
		rm -rf $(MONO_SHARED_DIR)/.wapi
		rm -f debian/cowbell.1

Builds:

cowbell
an easy-to-use tag editor for your music files