-predicates "$(PREDICATES)" -o $@ $^ \
-cclib "`glib-config --libs` `gdome-config --libs` `gtkmathview-config --libs`" -dllib -l$(PACKAGE)
$(ARCHIVE_OPT) $(ARCHIVE_A): $(OBJECTS_OPT)
- INSTPATH=`ocamlfind query gdome2` ; \
$(OCAMLOPT) -a -package "$(REQUIRES)" \
-predicates "$(PREDICATES)" -o $@ $^ \
-cclib "`glib-config --libs` `gdome-config --libs` `gtkmathview-config --libs`" \
- -cclib "`echo $$INSTPATH | sed "s/\\(.*\\)\\/gdome2/\\1/"`/$(PACKAGE)/$(ARCHIVE_SO)"
+ -cclib "@OCAML_LIB_DIR@/stublibs/$(ARCHIVE_SO)"
$(ARCHIVE_SO): $(OBJECTS_C)
gcc -shared -o $@ $< `gtkmathview-config --libs` -lmlgdome -L `ocamlfind query gdome2` -Xlinker -rpath -Xlinker `ocamlfind query gdome2`
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(OCAML_INCLUDE_DIR)
+AC_SUBST(OCAML_LIB_DIR)
AC_OUTPUT([
test/Makefile
+lablgtkmathview (0.3.0-10) unstable; urgency=low
+
+ * Added dep on liblablgtk-ocaml{,-dev} respectively in
+ liblablgtkmathview-ocaml{,-dev}
+
+ -- Stefano Zacchiroli <zack@debian.org> Tue, 17 Sep 2002 11:58:14 +0200
+
+lablgtkmathview (0.3.0-9) unstable; urgency=low
+
+ * Removed useless dh_ocamlld invocation
+ * Fixed native code compilation shared object path (now looks for .so
+ in /usr/lib/ocaml/stublibs instead of
+ /usr/lib/ocaml/lablgtkmathview)
+
+ -- Stefano Zacchiroli <zack@debian.org> Thu, 29 Aug 2002 15:02:21 +0200
+
lablgtkmathview (0.3.0-8) unstable; urgency=low
* Switched to debhelper 4
mandated by the new ocaml packaging policy
* Removed mention of lablgtkmathview from debian/control
* Added dep on ocaml-findlib
+ * Moved shared objects to /usr/lib/ocaml/stublibs
-- Stefano Zacchiroli <zack@debian.org> Sun, 7 Jul 2002 13:50:52 +0200
Package: liblablgtkmathview-ocaml
Architecture: any
Section: libs
-Depends: ocaml-base-3.06, libgdome2-ocaml, ${shlibs:Depends}
+Depends: ocaml-base-3.06, liblablgtk-ocaml, libgdome2-ocaml, ${shlibs:Depends}
Description: OCaml binding for libgtkmathview
This is the Ocaml binding for the GtkMathView widget, that is
currently available in the libgtkmathview0 package.
Package: liblablgtkmathview-ocaml-dev
Architecture: any
Section: devel
-Depends: ocaml-3.06, libgtkmathview0 (>= 0.3.0), liblablgtkmathview-ocaml (= ${Source-Version}), ocaml-findlib
+Depends: ocaml-3.06, liblablgtk-ocaml-dev, libgtkmathview0 (>= 0.3.0), liblablgtkmathview-ocaml (= ${Source-Version}), ocaml-findlib
Description: OCaml binding for libgtkmathview
These are the Ocaml bindings for the GtkMathView widget, that is
currently available in the libgtkmathview0 package.
dh_link -s
dh_strip -s
dh_compress -s
- dh_ocamlld -p liblablgtkmathview-ocaml /usr/lib/ocaml/lablgtkmathview
+# dh_ocamlld -p liblablgtkmathview-ocaml /usr/lib/ocaml/lablgtkmathview
dh_fixperms -s
dh_installdeb -s
dh_shlibdeps -s