#! /bin/sh -e
## 03_correct_META.dpatch by Sylvain Le Gall <gildor@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
case "$1" in
-patch) patch -p1 ${patch_opts} < $0;;
-unpatch) patch -R -p1 ${patch_opts} < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac
exit 0
@DPATCH@
diff -urNad mlpcap-0.9~/META mlpcap-0.9/META
--- mlpcap-0.9~/META 2004-05-21 23:57:58.000000000 +0200
+++ mlpcap-0.9/META 2006-11-01 22:46:00.000000000 +0100
@@ -1,7 +1,6 @@
name="pcap"
-version="0.8"
+version="0.9"
description="Ocaml bindings to libpcap"
requires=""
archive(byte) = "pcap.cma"
archive(opt) = "pcap.cmxa"
-linkopts = "-cclib -lpcap -cclib -lcallback"