From: rich Date: Sun, 2 Nov 2003 13:19:57 +0000 (+0000) Subject: Initial Debianisation. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=bbc6ad256fad9c788bb36dd8500f1322185eaa24;p=perl4caml.git Initial Debianisation. --- diff --git a/README b/README index 55762fb..885beaf 100644 --- a/README +++ b/README @@ -1,16 +1,16 @@ perl4caml Copyright (C) 2003 Merjis Ltd. (http://www.merjis.com/) -$Id: README,v 1.2 2003-10-16 13:41:06 rich Exp $ +$Id: README,v 1.3 2003-11-02 13:19:57 rich Exp $ perl4caml allows you to use Perl code within Objective CAML (OCaml), thus neatly side-stepping the old problem with OCaml which was that it lacked a comprehensive set of libraries. Well now you can use any part of CPAN in your OCaml code. -mod_caml is distributed under the GNU Library General Public License +perl4caml is distributed under the GNU Library General Public License (see file COPYING.LIB for terms and conditions). -mod_caml was mainly written by Richard W.M. Jones +perl4caml was mainly written by Richard W.M. Jones (rich@annexia.org). See file AUTHORS for other contributors. Installation diff --git a/debian/.cvsignore b/debian/.cvsignore new file mode 100644 index 0000000..a7866b1 --- /dev/null +++ b/debian/.cvsignore @@ -0,0 +1,7 @@ +*.ex +*.EX +tmp +files +libapache-ocaml +libapache-ocaml-dev +*.substvars \ No newline at end of file diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e2f7c08 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +perl4caml (0.3.6-1) unstable; urgency=low + + * Initial Release. + + -- Richard W.M. Jones Sat, 1 Nov 2003 12:41:34 +0000 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..910f03e --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: perl4caml +Priority: optional +Maintainer: Richard W.M. Jones +Build-Depends: debhelper (>= 4.0.0), ocaml-findlib, ocaml-3.07, libperl-dev +Standards-Version: 3.6.0 + +Package: libperl-ocaml-dev +Section: devel +Architecture: any +Depends: libperl-ocaml (= ${Source-Version}), ocaml-findlib, ocaml-3.07, + libperl-dev +Description: allows you to use Perl code within Objective CAML (OCaml) + perl4caml allows you to use Perl code within Objective CAML (OCaml), + thus neatly side-stepping the old problem with OCaml which was that it + lacked a comprehensive set of libraries. Well now you can use any part + of CPAN in your OCaml code. + . + perl4caml has both a low-level interface to Perl, and it contains + high-level wrappers around some CPAN libraries. + . + This package contains development interfaces, and documentation. + +Package: libperl-ocaml +Section: libs +Architecture: any +Depends: libperl, ocaml-base-3.07 +Description: allows you to use Perl code within Objective CAML (OCaml) + perl4caml allows you to use Perl code within Objective CAML (OCaml), + thus neatly side-stepping the old problem with OCaml which was that it + lacked a comprehensive set of libraries. Well now you can use any part + of CPAN in your OCaml code. + . + perl4caml has both a low-level interface to Perl, and it contains + high-level wrappers around some CPAN libraries. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0e2fbf6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Richard W.M. Jones on +Sun, 2 Nov 2003 12:41:34 +0000. + +Upstream Author: Richard W.M. Jones + +Copyright: Copyright (C) 2003 Merjis Ltd. + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this library; see the file COPYING. If not, write to +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6f12db5 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README diff --git a/debian/libperl-ocaml-dev.files b/debian/libperl-ocaml-dev.files new file mode 100644 index 0000000..1a35a76 --- /dev/null +++ b/debian/libperl-ocaml-dev.files @@ -0,0 +1,2 @@ +usr/lib/ocaml/3.07/perl/*.mli +usr/lib/ocaml/3.07/perl/*.cmi \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..df16012 --- /dev/null +++ b/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + if [ -x /usr/bin/ocamlopt ]; then \ + $(MAKE) BUILD_OPT=1; \ + else \ + $(MAKE) BUILD_OPT=0; \ + fi + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + -$(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-ocaml + + # Move the remaining development files across. + dh_movefiles -plibperl-ocaml-dev --sourcedir=debian/libperl-ocaml + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure