[Pkg-ocaml-maint-commits] r5181 - in /trunk/packages/galax/trunk/debian/patches: 00list meta.dpatch
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Sun Feb 17 16:17:46 UTC 2008
Author: zack
Date: Sun Feb 17 16:17:46 2008
New Revision: 5181
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5181
Log:
add META
Added:
trunk/packages/galax/trunk/debian/patches/meta.dpatch (with props)
Modified:
trunk/packages/galax/trunk/debian/patches/00list
Modified: trunk/packages/galax/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/galax/trunk/debian/patches/00list?rev=5181&op=diff
==============================================================================
--- trunk/packages/galax/trunk/debian/patches/00list (original)
+++ trunk/packages/galax/trunk/debian/patches/00list Sun Feb 17 16:17:46 2008
@@ -1,1 +1,2 @@
configure_typo.dpatch
+meta.dpatch
Added: trunk/packages/galax/trunk/debian/patches/meta.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/galax/trunk/debian/patches/meta.dpatch?rev=5181&op=file
==============================================================================
--- trunk/packages/galax/trunk/debian/patches/meta.dpatch (added)
+++ trunk/packages/galax/trunk/debian/patches/meta.dpatch Sun Feb 17 16:17:46 2008
@@ -1,0 +1,40 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## meta.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Provide a META for integration of Galax with the ocamlfind OCaml package
+## DP: manager. Also patch configure and Makefile to fill-in version
+## DP: information and install under the OCaml library directory
+
+ at DPATCH@
+diff -urNad trunk~/META.in trunk/META.in
+--- trunk~/META.in 1970-01-01 01:00:00.000000000 +0100
++++ trunk/META.in 2008-02-17 17:13:24.000000000 +0100
+@@ -0,0 +1,4 @@
++version = "@VERSION@"
++requires = "pcre,netstring,equeue,netclient,netsys,pxp-engine,camomile"
++archive(byte) = "galax.cma"
++archive(native) = "galax.cmxa"
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile 2007-09-27 21:19:28.000000000 +0200
++++ trunk/Makefile 2008-02-17 17:15:54.000000000 +0100
+@@ -862,6 +862,7 @@
+
+ install:: lib $(CONF_GALAX_OCAMLLIB)
+ for i in $(GALAX_LIB_TARGETS); do ($(CP) $$i $(CONF_GALAX_OCAMLLIB)); done
++ cp META $(CONF_GALAX_OCAMLLIB)
+ if test -f $(GALAX_CLIB); then ($(CP) $(GALAX_CLIB) $(CONF_GALAX_OCAMLLIB); $(RANLIB) $(CONF_GALAX_OCAMLLIB)/$(GALAX_CLIB)); fi
+
+ uninstall::
+diff -urNad trunk~/configure trunk/configure
+--- trunk~/configure 2007-10-25 02:08:41.000000000 +0200
++++ trunk/configure 2008-02-17 17:14:38.000000000 +0100
+@@ -1625,5 +1625,8 @@
+
+ _EOF_
+
++# generate META
++set "s/@VERSION@/$version/g" META.in > META
++
+ exit 0
+
Propchange: trunk/packages/galax/trunk/debian/patches/meta.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-ocaml-maint-commits
mailing list