From b46f5a395bc78ea156ab2381d917608049493f1d Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Mon, 9 Dec 2002 11:29:24 +0000 Subject: [PATCH] - debian version 0.0.3-2 - ship also C/C++ flavour - removed dh_ocamlld invocation - moved .so stub in /usr/lib/ocaml/stublibs --- helm/DEVEL/gdome_xslt/debian/changelog | 10 +++++ helm/DEVEL/gdome_xslt/debian/control | 39 ++++++++++--------- .../debian/libgdome2-xslt-dev.examples | 2 + .../debian/libgdome2-xslt-dev.files | 4 ++ .../debian/libgdome2-xslt-ocaml-dev.examples | 3 +- .../debian/libgdome2-xslt-ocaml-dev.files | 3 ++ .../debian/libgdome2-xslt-ocaml.files | 2 +- .../gdome_xslt/debian/libgdome2-xslt0.files | 1 + helm/DEVEL/gdome_xslt/debian/rules | 30 ++++---------- 9 files changed, 51 insertions(+), 43 deletions(-) create mode 100644 helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.examples create mode 100644 helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.files create mode 100644 helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.files create mode 100644 helm/DEVEL/gdome_xslt/debian/libgdome2-xslt0.files diff --git a/helm/DEVEL/gdome_xslt/debian/changelog b/helm/DEVEL/gdome_xslt/debian/changelog index 6467e014f..84046d755 100644 --- a/helm/DEVEL/gdome_xslt/debian/changelog +++ b/helm/DEVEL/gdome_xslt/debian/changelog @@ -1,3 +1,13 @@ +gdome2-xslt (0.0.3-2) unstable; urgency=low + + * Source named changed to gdome2-xslt + * Moved .so stub in /usr/lib/ocaml/stublibs + * Ship also C and C++ flavours + * Bumped Standards-Version to 3.5.8 + * Better test for ocamlopt existence + + -- Stefano Zacchiroli Sun, 8 Dec 2002 16:09:56 +0100 + libxslt-ocaml (0.0.2-1) unstable; urgency=low * Added serialization functions diff --git a/helm/DEVEL/gdome_xslt/debian/control b/helm/DEVEL/gdome_xslt/debian/control index 29840c717..4d3265d17 100644 --- a/helm/DEVEL/gdome_xslt/debian/control +++ b/helm/DEVEL/gdome_xslt/debian/control @@ -1,31 +1,34 @@ -Source: libxslt-ocaml +Source: gdome2-xslt Section: devel Priority: optional Maintainer: Stefano Zacchiroli Build-Depends: debhelper (>> 4.0.0), ocaml-3.06, ocaml-findlib, libgdome2-ocaml-dev, libgdome2-dev, libxslt1-dev -Standards-Version: 3.5.6 +Standards-Version: 3.5.8 + +Package: libgdome2-xslt0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: TODO + TODO + +Package: libgdome2-xslt-dev +Section: devel +Architecture: any +Depends: libgdome2-xslt0 (= ${Source-Version}), libxslt1-dev, libgdome2-dev, libgdome2-cpp-smart-dev +Description: TODO + TODO Package: libgdome2-xslt-ocaml Architecture: any Depends: ocaml-base-3.06, ${shlibs:Depends} -Description: OCaml XSLT processing library - This OCaml library provides an high level API for XSLT - processing. - . - The underlying implementation is based on libxml, libgdome2 and - libxslt. - . - This package contains only the shared runtime stub libraries. +Description: TODO + TODO Package: libgdome2-xslt-ocaml-dev Architecture: any Section: devel Depends: ocaml-3.06, libgdome2-xslt-ocaml (= ${Source-Version}), libxslt1-dev, libgdome2-dev -Description: OCaml XSLT processing library - This OCaml library provides an high level API for XSLT - processing. - . - The underlying implementation is based on libxml, libgdome2 and - libxslt. - . - This package contains all the development stuff. +Description: TODO + TODO + diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.examples b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.examples new file mode 100644 index 000000000..23610114a --- /dev/null +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.examples @@ -0,0 +1,2 @@ +ocaml/test/test.ml +test_files/* diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.files b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.files new file mode 100644 index 000000000..ab669f97c --- /dev/null +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-dev.files @@ -0,0 +1,4 @@ +usr/lib/*.so +usr/lib/*.a +usr/lib/*.la +usr/include/ diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.examples b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.examples index edb5d713a..354012c11 100644 --- a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.examples +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.examples @@ -1,2 +1,3 @@ -ocaml/test/* +C/test/test.c +C++/test/main.cc test_files/* diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.files b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.files new file mode 100644 index 000000000..e997c414e --- /dev/null +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml-dev.files @@ -0,0 +1,3 @@ +usr/lib/ocaml/stublibs/*.owner +usr/lib/ocaml/stublibs/lib*.so +usr/lib/ocaml/gdome2-xslt/ diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml.files b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml.files index 73a651e2c..263196f49 100644 --- a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml.files +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt-ocaml.files @@ -1 +1 @@ -usr/lib/ocaml/gdome2-xslt/*.so +usr/lib/ocaml/stublibs/dll*.so diff --git a/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt0.files b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt0.files new file mode 100644 index 000000000..093956b17 --- /dev/null +++ b/helm/DEVEL/gdome_xslt/debian/libgdome2-xslt0.files @@ -0,0 +1 @@ +usr/lib/*.so.* diff --git a/helm/DEVEL/gdome_xslt/debian/rules b/helm/DEVEL/gdome_xslt/debian/rules index c10d3e9a5..48dcdb7fb 100755 --- a/helm/DEVEL/gdome_xslt/debian/rules +++ b/helm/DEVEL/gdome_xslt/debian/rules @@ -13,32 +13,20 @@ TARGETDIR = debian/libgdome2-xslt-ocaml-dev configure: configure-stamp configure-stamp: dh_testdir - - cd ocaml/gdome_xslt/; ./configure + ./configure --prefix=/usr touch configure-stamp - build: build-stamp - build-stamp: configure-stamp dh_testdir - - $(MAKE) -C C/gdome_xslt/ - $(MAKE) -C ocaml/gdome_xslt/ - -if [ -x /usr/bin/ocamlopt ]; then \ - $(MAKE) -C ocaml/gdome_xslt/ opt; \ - fi - + $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp - - -$(MAKE) -C ocaml/gdome_xslt/ distclean - -$(MAKE) -C C/gdome_xslt/ clean - + -$(MAKE) clean dh_clean install: build @@ -46,14 +34,11 @@ install: build dh_testroot dh_clean -k dh_installdirs -s - - $(MAKE) -C ocaml/gdome_xslt/ install PREFIX=$(CURDIR)/$(TARGETDIR)/usr/lib/ocaml - -movefiles: install - dh_movefiles -p libgdome2-xslt-ocaml --sourcedir=$(TARGETDIR) + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + dh_movefiles # Build architecture-dependent files here. -binary-arch: build movefiles +binary-arch: build install dh_testdir dh_testroot dh_installdocs -s @@ -64,7 +49,6 @@ binary-arch: build movefiles dh_link -s dh_strip -s dh_compress -s - dh_ocamlld -p libgdome2-xslt-ocaml /usr/lib/ocaml/gdome2-xslt dh_fixperms -s dh_installdeb -s dh_shlibdeps -s @@ -73,4 +57,4 @@ binary-arch: build movefiles dh_builddeb -s binary: binary-arch -.PHONY: build clean movefiles binary-arch binary install configure +.PHONY: build clean binary-arch binary install configure -- 2.39.2