From: Stefano Zacchiroli Date: Wed, 25 Dec 2002 15:21:34 +0000 (+0000) Subject: libdir transition to /usr/lib/ocaml/ X-Git-Tag: v0_3_99~128 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b5703de4f7697426ebda94fce2558add7c4f0285;p=helm.git libdir transition to /usr/lib/ocaml/ --- diff --git a/helm/DEVEL/ocaml-http/debian/control b/helm/DEVEL/ocaml-http/debian/control index 3135b97f3..afb99182b 100644 --- a/helm/DEVEL/ocaml-http/debian/control +++ b/helm/DEVEL/ocaml-http/debian/control @@ -2,12 +2,12 @@ Source: ocaml-http Section: devel Priority: optional Maintainer: Stefano Zacchiroli -Build-Depends: debhelper (>> 4.0.0), ocaml-3.06, ocaml-findlib, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94 +Build-Depends: debhelper (>> 4.0.0), ocaml-3.06-1, ocaml-findlib, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94 Standards-Version: 3.5.8 Package: libhttp-ocaml-dev Architecture: any -Depends: ocaml-3.06, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94 +Depends: ocaml-3.06-1, libpcre-ocaml-dev-4.30.0, libocamlnet-ocaml-dev-0.94 Provides: libhttp-ocaml-dev-0.0.6 Description: OCaml module to build simple HTTP servers OCaml module to build simple HTTP server, largely inspired to Perl's diff --git a/helm/DEVEL/ocaml-http/debian/dirs b/helm/DEVEL/ocaml-http/debian/dirs index dd25148a4..bfe42fe0e 100644 --- a/helm/DEVEL/ocaml-http/debian/dirs +++ b/helm/DEVEL/ocaml-http/debian/dirs @@ -1 +1 @@ -/usr/lib/ocaml +/usr/lib/ocaml/3.06 diff --git a/helm/DEVEL/ocaml-http/debian/rules b/helm/DEVEL/ocaml-http/debian/rules index 1d19eea21..498a5540e 100755 --- a/helm/DEVEL/ocaml-http/debian/rules +++ b/helm/DEVEL/ocaml-http/debian/rules @@ -3,7 +3,8 @@ #export DH_VERBOSE=1 export DH_COMPAT=4 -TARGETDIR=$(CURDIR)/debian/libhttp-ocaml-dev +TARGETDIR = $(CURDIR)/debian/libhttp-ocaml-dev +OCAML_LIB_DIR = $(shell ocamlc -where) build: build-stamp build-stamp: @@ -24,7 +25,7 @@ install: build dh_testroot dh_clean -k dh_installdirs - $(MAKE) install DESTDIR=$(TARGETDIR)/usr/lib/ocaml + $(MAKE) install DESTDIR=$(TARGETDIR)$(OCAML_LIB_DIR) $(MAKE) doc binary-arch: build install