[Pkg-ocaml-maint-commits] r987 - in packages: . ocaml-expat ocaml-expat/trunk ocaml-expat/trunk/debian ocaml-expat/trunk/debian/patches ocurl ocurl/trunk ocurl/trunk/debian ocurl/trunk/debian/patches
Enrico Tassi
gares-guest@costa.debian.org
Sat, 19 Feb 2005 18:43:00 +0100
Author: gares-guest
Date: 2005-02-19 18:42:57 +0100 (Sat, 19 Feb 2005)
New Revision: 987
Added:
packages/ocaml-expat/
packages/ocaml-expat/trunk/
packages/ocaml-expat/trunk/debian/
packages/ocaml-expat/trunk/debian/changelog
packages/ocaml-expat/trunk/debian/compat
packages/ocaml-expat/trunk/debian/control
packages/ocaml-expat/trunk/debian/copyright
packages/ocaml-expat/trunk/debian/docs
packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.dirs
packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.install
packages/ocaml-expat/trunk/debian/libexpat-ocaml.dirs
packages/ocaml-expat/trunk/debian/libexpat-ocaml.install
packages/ocaml-expat/trunk/debian/patches/
packages/ocaml-expat/trunk/debian/patches/00list
packages/ocaml-expat/trunk/debian/patches/Makefile.dpatch
packages/ocaml-expat/trunk/debian/rules
packages/ocaml-expat/trunk/ocaml-expat_0.9.0.orig.tar.gz
packages/ocurl/
packages/ocurl/trunk/
packages/ocurl/trunk/debian/
packages/ocurl/trunk/debian/changelog
packages/ocurl/trunk/debian/compat
packages/ocurl/trunk/debian/control
packages/ocurl/trunk/debian/copyright
packages/ocurl/trunk/debian/libcurl-ocaml-dev.dirs
packages/ocurl/trunk/debian/libcurl-ocaml-dev.install
packages/ocurl/trunk/debian/libcurl-ocaml.dirs
packages/ocurl/trunk/debian/libcurl-ocaml.install
packages/ocurl/trunk/debian/patches/
packages/ocurl/trunk/debian/patches/00list
packages/ocurl/trunk/debian/patches/01_makefile.in.dpatch
packages/ocurl/trunk/debian/rules
packages/ocurl/trunk/ocurl_0.2.0.orig.tar.gz
Log:
added ocurl and ocaml-expat packages
Added: packages/ocaml-expat/trunk/debian/changelog
===================================================================
--- packages/ocaml-expat/trunk/debian/changelog 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/changelog 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,6 @@
+ocaml-expat (0.9.0-1) unstable; urgency=low
+
+ * Initial Release (Closes: Bug#291966).
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net> Sun, 23 Jan 2005 16:33:21 +0100
+
Added: packages/ocaml-expat/trunk/debian/compat
===================================================================
--- packages/ocaml-expat/trunk/debian/compat 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/compat 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+4
Added: packages/ocaml-expat/trunk/debian/control
===================================================================
--- packages/ocaml-expat/trunk/debian/control 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/control 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,25 @@
+Source: ocaml-expat
+Priority: optional
+Maintainer: Enrico Tassi <gareuselesinge@users.sourceforge.net>
+Build-Depends: debhelper (>= 4.0.0), libexpat1-dev, ocaml-nox-3.08, dpatch, ocaml-findlib
+Standards-Version: 3.6.1.1
+
+Package: libexpat-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: libexpat-ocaml (= ${Source-Version}), libexpat1-dev, ocaml-nox-3.08, ocaml-findlib
+Description: ocaml expat bindings
+ This Objective Caml library provides XML parsing facilities based on the expat
+ library.
+ .
+ This package contains the developpment part of the ocaml expat package.
+
+Package: libexpat-ocaml
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ocaml-base-nox-3.08
+Description: ocaml expat bindings
+ This Objective Caml library provides XML parsing facilities based on the expat
+ library.
+ .
+ This package contains only the shared runtime stub libraries.
Added: packages/ocaml-expat/trunk/debian/copyright
===================================================================
--- packages/ocaml-expat/trunk/debian/copyright 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/copyright 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,29 @@
+This package was debianized by Enrico Tassi <gareuselesinge@users.sourceforge.net> on
+Sun, 23 Jan 2005 16:33:21 +0100.
+
+It was downloaded from http://www.xs4all.nl/~mmzeeman/ocaml/
+
+Copyright: Maas-Maarten Zeeman
+
+Upstream Author: Maas-Maarten Zeeman
+
+License:
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this document and the ocaml-expat software ("the Software"),
+ to deal in the Software without restriction, including without
+ limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ The Software is provided ``as is'', without warranty of any kind,
+ express or implied, including but not limited to the warranties of
+ merchantability, fitness for a particular purpose and noninfringement.
+ In no event shall Maas-Maarten Zeeman be liable for any claim, damages
+ or other liability, whether in an action of contract, tort or
+ otherwise, arising from, out of or in connection with the Software or
+ the use or other dealings in the software.
Added: packages/ocaml-expat/trunk/debian/docs
===================================================================
--- packages/ocaml-expat/trunk/debian/docs 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/docs 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+README
Added: packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.dirs
===================================================================
--- packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.dirs 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.dirs 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08/expat
Added: packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.install
===================================================================
--- packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.install 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/libexpat-ocaml-dev.install 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+/usr/lib/ocaml/3.08/expat/*
Added: packages/ocaml-expat/trunk/debian/libexpat-ocaml.dirs
===================================================================
--- packages/ocaml-expat/trunk/debian/libexpat-ocaml.dirs 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/libexpat-ocaml.dirs 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+usr/lib/ocaml/ocaml/3.08/stublibs
Added: packages/ocaml-expat/trunk/debian/libexpat-ocaml.install
===================================================================
--- packages/ocaml-expat/trunk/debian/libexpat-ocaml.install 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/libexpat-ocaml.install 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08/stublibs/*.so
Added: packages/ocaml-expat/trunk/debian/patches/00list
===================================================================
--- packages/ocaml-expat/trunk/debian/patches/00list 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/patches/00list 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+Makefile
Added: packages/ocaml-expat/trunk/debian/patches/Makefile.dpatch
===================================================================
--- packages/ocaml-expat/trunk/debian/patches/Makefile.dpatch 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/patches/Makefile.dpatch 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Makefile.dpatch by <tassi@garfield>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad ocaml-expat-0.9.0/Makefile /tmp/dpep.1bs8CC/ocaml-expat-0.9.0/Makefile
+--- ocaml-expat-0.9.0/Makefile 2005-01-23 17:16:48.000000000 +0100
++++ /tmp/dpep.1bs8CC/ocaml-expat-0.9.0/Makefile 2005-01-23 17:17:49.000000000 +0100
+@@ -51,8 +51,11 @@
+ .PHONY: install
+ install: all
+ { test ! -f $(XARCHIVE) || extra="$(XARCHIVE) $(NAME).a"; }; \
+- $(OCAMLFIND) install $(NAME) META $(NAME).cmi $(NAME).mli $(ARCHIVE) \
+- dll$(CARCHIVE_NAME).so lib$(CARCHIVE_NAME).a $$extra
++ $(OCAMLFIND) install \
++ -destdir $(DESTDIR) \
++ -ldconf ignore \
++ $(NAME) META $(NAME).cmi $(NAME).mli $(ARCHIVE) \
++ dll$(CARCHIVE_NAME).so lib$(CARCHIVE_NAME).a $$extra
+
+ .PHONY: uninstall
+ uninstall:
Added: packages/ocaml-expat/trunk/debian/rules
===================================================================
--- packages/ocaml-expat/trunk/debian/rules 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocaml-expat/trunk/debian/rules 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,105 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+
+TARGETDIR = $(CURDIR)/debian/tmp
+OCAML_LIB_DIR = $(shell ocamlc -where)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ if [ -x /usr/bin/ocamlopt ]; then $(MAKE) allopt; fi
+
+ touch build-stamp
+
+clean: patch clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp
+ mkdir -p $(TARGETDIR)$(OCAML_LIB_DIR)
+ mkdir -p $(TARGETDIR)$(OCAML_LIB_DIR)/stublibs
+ $(MAKE) install DESTDIR=$(TARGETDIR)$(OCAML_LIB_DIR)
+ dh_install --sourcedir=debian/tmp
+
+
+# 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 changelog
+ 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
Added: packages/ocaml-expat/trunk/ocaml-expat_0.9.0.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: packages/ocaml-expat/trunk/ocaml-expat_0.9.0.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: packages/ocurl/trunk/debian/changelog
===================================================================
--- packages/ocurl/trunk/debian/changelog 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/changelog 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,6 @@
+ocurl (0.2.0-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Enrico Tassi <gareuselesinge@users.sourceforge.net> Mon, 17 Jan 2005 17:51:22 +0100
+
Added: packages/ocurl/trunk/debian/compat
===================================================================
--- packages/ocurl/trunk/debian/compat 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/compat 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+4
Added: packages/ocurl/trunk/debian/control
===================================================================
--- packages/ocurl/trunk/debian/control 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/control 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,27 @@
+Source: ocurl
+Section: libdevel
+Priority: optional
+Maintainer: Enrico Tassi <gareuselesinge@users.sourceforge.net>
+Build-Depends: debhelper (>= 4.0.0), libcurl3-dev, ocaml-nox-3.08, dpatch, ocaml-findlib
+Standards-Version: 3.6.1.1
+
+Package: libcurl-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: libcurl-ocaml (= ${Source-Version}), libcurl3-dev, ocaml-nox-3.08, ocaml-findlib
+Description: ocaml libcurl bindings
+ This Objective Caml library provides multi-protocol file transfer
+ facilities based on the curl library.
+ .
+ This package contains the developpment part of the ocaml expat package.
+
+Package: libcurl-ocaml
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ocaml-base-nox-3.08
+Description: ocaml curl bindings
+ This Objective Caml library provides multi-protocol file transfer
+ facilities based on the curl library.
+ .
+ This package contains only the shared runtime stub libraries.
+
Added: packages/ocurl/trunk/debian/copyright
===================================================================
--- packages/ocurl/trunk/debian/copyright 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/copyright 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,31 @@
+This package was debianized by Enrico Tassi <gareuselesinge@users.sourceforge.net> on
+Mon, 17 Jan 2005 17:51:22 +0100.
+
+It was downloaded from http://sourceforge.net/projects/ocurl
+
+Copyright:
+
+Upstream Author: Lars Nilsson <lars@quantumchamaeleon.com>
+
+License:
+
+Copyright (c) 2003, Lars Nilsson, <lars@quantumchamaeleon.com>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Added: packages/ocurl/trunk/debian/libcurl-ocaml-dev.dirs
===================================================================
--- packages/ocurl/trunk/debian/libcurl-ocaml-dev.dirs 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/libcurl-ocaml-dev.dirs 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+/usr/lib/ocaml/3.08/curl
Added: packages/ocurl/trunk/debian/libcurl-ocaml-dev.install
===================================================================
--- packages/ocurl/trunk/debian/libcurl-ocaml-dev.install 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/libcurl-ocaml-dev.install 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08/curl/
Added: packages/ocurl/trunk/debian/libcurl-ocaml.dirs
===================================================================
--- packages/ocurl/trunk/debian/libcurl-ocaml.dirs 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/libcurl-ocaml.dirs 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+/usr/lib/ocaml/3.08/stublibs
Added: packages/ocurl/trunk/debian/libcurl-ocaml.install
===================================================================
--- packages/ocurl/trunk/debian/libcurl-ocaml.install 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/libcurl-ocaml.install 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+usr/lib/ocaml/3.08/stublibs/*.so
Added: packages/ocurl/trunk/debian/patches/00list
===================================================================
--- packages/ocurl/trunk/debian/patches/00list 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/patches/00list 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1 @@
+01_makefile.in.dpatch
Added: packages/ocurl/trunk/debian/patches/01_makefile.in.dpatch
===================================================================
--- packages/ocurl/trunk/debian/patches/01_makefile.in.dpatch 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/patches/01_makefile.in.dpatch 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,82 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_makefile.in.dpatch by <tassi@garfield>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad ocurl-0.2.0/Makefile.in /tmp/dpep.pRHCcE/ocurl-0.2.0/Makefile.in
+--- ocurl-0.2.0/Makefile.in 2005-01-31 11:13:01.000000000 +0100
++++ /tmp/dpep.pRHCcE/ocurl-0.2.0/Makefile.in 2005-01-31 11:13:28.000000000 +0100
+@@ -10,7 +10,7 @@
+ INSTALL = @INSTALL@
+ INSTALLDATA = @INSTALL_DATA@
+
+-FINDLIB = @OCAMLFIND@
++FINDLIB = ocamlfind
+ OCBYTE = @OCAMLC@
+ OCOPT = @OCAMLOPT@
+
+@@ -31,9 +31,9 @@
+ CURLCLIBS = -cclib -lcurl-helper -cclib "@CURLLIBS@"
+
+ ifeq (@OCAMLBEST@,opt)
+-TARGETS = curl.cma curl.cmxa libcurl-helper.a
++TARGETS = curl.cma curl.cmxa libcurl-helper.a dllcurl-helper.so
+ else
+-TARGETS = curl.cma libcurl-helper.a
++TARGETS = curl.cma libcurl-helper.a dllcurl-helper.so
+ endif
+
+ all:
+@@ -45,11 +45,11 @@
+ examples:
+ (cd examples; $(MAKE))
+
+-curl.cma: $(CURLBCOBJS) libcurl-helper.a
+- $(OCBYTE) -custom -a $(FLAGS) $(CURLFLAGS) -o $@ $(CURLBCOBJS) $(CURLCLIBS)
++curl.cma: $(CURLBCOBJS) dllcurl-helper.so
++ ocamlmklib -o curl $(CURLBCOBJS) -oc curl-helper @CURLLIBS@
+
+-curl.cmxa: $(CURLOBJS) libcurl-helper.a
+- $(OCOPT) -a $(FLAGS) $(CURLFLAGS) $(LIBS) $(CURLOBJS) -o $@ $(CURLCLIBS)
++curl.cmxa: $(CURLOBJS) dllcurl-helper.so
++ ocamlmklib -o curl $(CURLOBJS) -oc curl-helper @CURLLIBS@
+
+ .ml.cmx:
+ $(OCOPT) -c $(FLAGS) $< -o $@
+@@ -60,17 +60,19 @@
+ .ml.cmo:
+ $(OCBYTE) -c $(FLAGS) $< -o $@
+
+-libcurl-helper.a: $(CURLHELPEROBJS)
+- ar crus libcurl-helper.a $(CURLHELPEROBJS)
+- ranlib libcurl-helper.a
++libcurl-helper.a dllcurl-helper.so: $(CURLHELPEROBJS)
++ ocamlmklib -oc curl-helper $(CURLHELPEROBJS) \
++ @CURLLIBS@
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $(CAMLINCDIR) $< -o $@
+
+ install:
+ ifeq ($(FINDLIB),ocamlfind)
+- ocamlfind install curl META $(wildcard *.cmi) \
+- $(wildcard *.a) $(wildcard *.cma) $(wildcard *.cmxa)
++ ocamlfind install -destdir $(DESTDIR) -ldconf ignore \
++ curl META $(wildcard *.cmi) \
++ $(wildcard *.a) $(wildcard *.cma) \
++ $(wildcard *.cmxa) $(wildcard *.so) $(wildcard *.mli)
+ else
+ mkdir -p $(INSTALLDIR)
+ $(INSTALLDATA) curl.cma $(INSTALLDIR)
+@@ -83,7 +85,8 @@
+
+
+ clean:
+- @rm -f $(TARGETS) *~ *.cm* *.o *.a .depend core
++ @rm -f $(TARGETS) *~ *.cm* *.o *.a *.so .depend core
++ @rm -f foo.ld.conf
+ @(cd examples; $(MAKE) clean)
+
+ depend:
Added: packages/ocurl/trunk/debian/rules
===================================================================
--- packages/ocurl/trunk/debian/rules 2005-02-19 15:29:37 UTC (rev 986)
+++ packages/ocurl/trunk/debian/rules 2005-02-19 17:42:57 UTC (rev 987)
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+include /usr/share/dpatch/dpatch.make
+
+TARGETDIR = $(CURDIR)/debian/tmp
+OCAML_LIB_DIR = $(shell ocamlc -where)
+
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+config.status: configure
+ dh_testdir
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
+ --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp: patch-stamp config.status
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean: patch clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp config.status
+ rm -rf $(TARGETDIR)$(OCAML_LIB_DIR)
+
+ -$(MAKE) clean
+ rm -f Makefile config.log examples/Makefile config.h
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ mkdir -p $(TARGETDIR)$(OCAML_LIB_DIR)
+ mkdir -p $(TARGETDIR)$(OCAML_LIB_DIR)/stublibs
+ $(MAKE) install DESTDIR=$(TARGETDIR)$(OCAML_LIB_DIR)
+ dh_install --sourcedir=debian/tmp
+
+# 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_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
Added: packages/ocurl/trunk/ocurl_0.2.0.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: packages/ocurl/trunk/ocurl_0.2.0.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream