debian swirl logo

Back to the packages list ocaml-flac

#!/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
DEB_CONFIGURE_SCRIPT  := ./configure
DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

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

clean::
		rm -rf examples/Makefile.decode examples/Makefile.encode .pc config.h Makefile src/Makefile src/META doc config.log config.status

Builds:

libflac-ocaml-dev
ocaml interface to the flac library -- developpement files
libflac-ocaml
ocaml interface to the flac library -- runtime files