DIST_FILES = \
AUTHORS COPYING ChangeLog LICENSE Makefile.in NEWS README \
configure.in gMathView.ml gtkMathView.ml gtk_mathview.ml \
- ml_gtk_mathview.c META.in
+ ml_gtk_mathview.c META.in .depend debian/ test/ configure \
+ lablgtkmathview.spec lablgtkmathview.spec.in
DOC_FILES = AUTHORS COPYING ChangeLog NEWS README
REQUIRES = gdome2 lablgtk
PREDICATES =
TMPDIR = .test
TMPPKGDIR = $(TMPDIR)/$(PACKAGE)
-all: $(ARCHIVE) $(ARCHIVE_SO) $(TESTDIR)/test
+# all: $(ARCHIVE) $(ARCHIVE_SO) $(TESTDIR)/test
+all: $(ARCHIVE) $(ARCHIVE_SO)
opt: $(OBJECTS_C) $(ARCHIVE_OPT) $(ARCHIVE_A) $(ARCHIVE_SO) #$(TESTDIR)/test.opt
dist:
rm -rf $(PACKAGE)-$(VERSION)
mkdir $(PACKAGE)-$(VERSION)
- cp $(DIST_FILES) $(DOC_FILES) $(PACKAGE)-$(VERSION)
+ cp -a $(DIST_FILES) $(DOC_FILES) $(PACKAGE)-$(VERSION)
tar cvfz $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
install:
test ! -f $(ARCHIVE_OPT) || extra="$(ARCHIVE_A) $(ARCHIVE_OPT)" ; \
- ocamlfind install $(PACKAGE) $(OBJECTS_C) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra
+ if [ "$(PREFIX)" = "" ]; then \
+ ocamlfind install $(PACKAGE) $(OBJECTS_C) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra; \
+ else \
+ ocamlfind install -destdir $(PREFIX) $(PACKAGE) $(OBJECTS_C) $(ARCHIVE) $(ARCHIVE_SO) $(INST) $$extra; \
+ fi
uninstall:
ocamlfind remove $(PACKAGE)
-lablgtkmathview (0.2.8helm-1) unstable; urgency=low
+lablgtkmathview (0.3.0-1) unstable; urgency=low
- * New upstream release.
- * Helm version: depends on Helm version of lablgtk.
+ * New upstream release
+ * Renamed resulting package to liblablgtkmathview-ocaml-dev
+ * Changed build-depends to adhere to the new ocaml packages naming schema
+ (e.g. lablgtk -> liblablgtk-ocaml-dev) (Closes: Bug#138116)
+ * Split away shared library in liblablgtkmathview-ocaml package
- -- Stefano Zacchiroli <zack@debian.org> Sat, 17 Nov 2001 09:40:37 +0100
+ -- Stefano Zacchiroli <zack@debian.org> Wed, 13 Mar 2002 18:53:50 +0100
+
+lablgtkmathview (0.2.8-1) unstable; urgency=low
+
+ * New upstream release
+ * Built with ocaml 3.04 and lablgtk 1.2.3
+ * Removed useless build depends
+
+ -- Stefano Zacchiroli <zack@debian.org> Mon, 25 Feb 2002 18:18:25 +0100
lablgtkmathview (0.2.4-4) unstable; urgency=low
Section: devel
Priority: optional
Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>> 2.0.0), ocaml (>= 3.02), lablgtk (= 1.2.1helm-1), libgtk1.2-dev, libgtkmathview-dev (>= 0.3.0), libxml2-dev, ocaml-findlib
-Standards-Version: 3.5.2
+Build-Depends: debhelper (>> 3.0.0), ocaml (>= 3.04), ocaml (<< 3.05), ocaml-findlib, liblablgtk-ocaml-dev (>= 1.2.3), libgdome2-ocaml-dev (>= 0.0.3), libgtkmathview-dev (>= 0.3.0), libxml2-dev
+Standards-Version: 3.5.6
-Package: lablgtkmathview
+Package: liblablgtkmathview-ocaml
Architecture: any
-Depends: ${shlibs:Depends}
-Recommends: ocaml, libgtkmathview0
+Section: libs
+Depends: ocaml (>= 3.04), ocaml (<< 3.05), ${shlibs:Depends}
+Conflicts: lablgtkmathview (<< 0.3.0)
Description: OCaml binding for libgtkmathview
This is the Ocaml binding for the GtkMathView widget, that is
currently available in the libgtkmathview0 package.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: liblablgtkmathview-ocaml-dev
+Architecture: any
+Section: devel
+Depends: ocaml (>= 3.04), ocaml (<< 3.05), libgtkmathview0 (>= 0.3.0), liblablgtkmathview-ocaml (= ${Source-Version})
+Provides: lablgtkmathview
+Conflicts: lablgtkmathview
+Replaces: lablgtkmathview
+Description: OCaml binding for libgtkmathview
+ These are the Ocaml bindings for the GtkMathView widget, that is
+ currently available in the libgtkmathview0 package.
+ .
+ This package contains the development part of the lablgtkmathview package.
--- /dev/null
+usr/lib/ocaml
--- /dev/null
+usr/lib/ocaml
--- /dev/null
+usr/lib/ocaml/lablgtkmathview/*.so
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
-export DH_COMPAT=2
+export DH_COMPAT=3
+
+TARGETDIR = debian/liblablgtkmathview-ocaml-dev
configure: configure-stamp
configure-stamp:
# Add here commands to compile the package.
$(MAKE)
- -$(MAKE) opt
- #/usr/bin/docbook-to-man debian/lablgtkmathview.sgml > lablgtkmathview.1
+ -test -x /usr/bin/ocamlopt && $(MAKE) opt
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
+ dh_installdirs -s
- # Add here commands to install the package into debian/lablgtkmathview.
- $(MAKE) install DESTDIR=$(CURDIR)/debian/lablgtkmathview/usr/lib/ocaml
+ # trick: redifine CAMLLIB so that findlibd doesn't try to modify the
+ # official /var/lib/ocaml/ld.conf
+ CAMLLIB=$(CURDIR) $(MAKE) install PREFIX=$(TARGETDIR)/usr/lib/ocaml
+movefiles: install
+ dh_movefiles -p liblablgtkmathview-ocaml --sourcedir=$(TARGETDIR)
# Build architecture-independent files here.
-binary-indep: build install
+binary-indep: build movefiles
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
-# dh_installdebconf
- dh_installdocs
- dh_installexamples
- dh_installmenu
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
- dh_installcron
- dh_installmanpages
- dh_installinfo
+ dh_installdocs -s
+ dh_installexamples -s
+ dh_installmanpages -s
+ dh_installinfo -s
# dh_undocumented
- dh_installchangelogs ChangeLog
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_makeshlibs
- dh_installdeb
-# dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh_installchangelogs -s ChangeLog
+ dh_link -s
+ dh_strip -s
+ dh_compress -s
+ dh_ocamlld -p liblablgtkmathview-ocaml /usr/lib/ocaml/lablgtkmathview
+ dh_fixperms -s
+ dh_installdeb -s
+ dh_shlibdeps -s
+ dh_gencontrol -s
+ dh_md5sums -s
+ dh_builddeb -s
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure