debian swirl logo

Back to the packages list gd4o

#!/usr/bin/make -f

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

DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
# Do not compile dynlink files for now..
DEB_MAKE_BUILD_TARGET := OCAML_DYNLINK="" all
DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
  DEB_MAKE_BUILD_TARGET += opt
endif

makebuilddir::
		mkdir -p $(DESTDIR)

Builds:

libgd-gd2-noxpm-ocaml-dev
ocaml interface to the gd library -- transitional package
libgd-gd2-noxpm-ocaml
ocaml interface to the gd library -- transitional package
libgd-ocaml-dev
ocaml interface to the gd library -- developpement files
libgd-ocaml
ocaml interface to the gd library -- runtime files