debian swirl logo

Back to the packages list ocaml-lastfm

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/ocaml.mk

DEB_CONFIGURE_EXTRA_FLAGS := --enable-debugging
DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

build/liblastfm-ocaml-dev::
		mkdir -p $(DESTDIR)
		make doc

clean::
		rm -rf Makefile src/Makefile src/META doc config.log config.status src/lastfm_constants.ml .pc \
		       examples/Makefile.download examples/Makefile.submit examples/Makefile.request

Builds:

liblastfm-ocaml-dev
ocaml interface to audioscrobbler and lastfm radios