[Pkg-ocaml-maint-commits] r2975 - in
/trunk/packages/ocaml-sha1/trunk/debian: META Makefile changelog
control control.in patches/ rules
ecc-guest at users.alioth.debian.org
ecc-guest at users.alioth.debian.org
Fri Jul 21 20:50:58 UTC 2006
Author: ecc-guest
Date: Fri Jul 21 20:50:56 2006
New Revision: 2975
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=2975
Log:
new upstream release
Added:
trunk/packages/ocaml-sha1/trunk/debian/META
trunk/packages/ocaml-sha1/trunk/debian/Makefile
Removed:
trunk/packages/ocaml-sha1/trunk/debian/patches/
Modified:
trunk/packages/ocaml-sha1/trunk/debian/changelog
trunk/packages/ocaml-sha1/trunk/debian/control
trunk/packages/ocaml-sha1/trunk/debian/control.in
trunk/packages/ocaml-sha1/trunk/debian/rules
Added: trunk/packages/ocaml-sha1/trunk/debian/META
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/META?rev=2975&op=file
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/META (added)
+++ trunk/packages/ocaml-sha1/trunk/debian/META Fri Jul 21 20:50:56 2006
@@ -1,0 +1,3 @@
+version="0.4"
+archive(byte)="sha1.cma"
+archive(native)="sha1.cmxa"
Added: trunk/packages/ocaml-sha1/trunk/debian/Makefile
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/Makefile?rev=2975&op=file
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/Makefile (added)
+++ trunk/packages/ocaml-sha1/trunk/debian/Makefile Fri Jul 21 20:50:56 2006
@@ -1,0 +1,12 @@
+OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile
+DESTDIR = $(shell ocamlc -where | sed s:/usr/lib/:/usr/local/lib/:)
+OCAMLFIND_INSTFLAGS = -destdir $(DESTDIR) -ldconf ignore
+
+SOURCES=sha1.mli sha1.ml sha1_stubs.c
+RESULT=sha1
+
+LIBINSTALL_FILES=$(wildcard *.mli *.cmi *.cma *.cmxa *.a *.so)
+
+all: byte-code-library
+
+include $(OCAMLMAKEFILE)
Modified: trunk/packages/ocaml-sha1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/changelog?rev=2975&op=diff
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/changelog (original)
+++ trunk/packages/ocaml-sha1/trunk/debian/changelog Fri Jul 21 20:50:56 2006
@@ -1,6 +1,11 @@
+ocaml-sha1 (0.8-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Eric Cooper <ecc at cmu.edu> Fri, 21 Jul 2006 16:35:01 -0400
+
ocaml-sha1 (0.4-1) unstable; urgency=low
* Initial packaging
- * Closes: #378938
-- Eric Cooper <ecc at cmu.edu> Wed, 19 Jul 2006 12:42:38 -0400
Modified: trunk/packages/ocaml-sha1/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/control?rev=2975&op=diff
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/control (original)
+++ trunk/packages/ocaml-sha1/trunk/debian/control Fri Jul 21 20:50:56 2006
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Eric Cooper <ecc at cmu.edu>
-Build-Depends: debhelper (>= 5.0), dpatch, ocaml-nox (>= 3.09.2), ocaml-tools, ocaml-findlib
+Build-Depends: debhelper (>= 5.0), ocaml-nox (>= 3.09.2), ocaml-tools, ocaml-findlib
Standards-Version: 3.7.2
Package: libsha1-ocaml-dev
Modified: trunk/packages/ocaml-sha1/trunk/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/control.in?rev=2975&op=diff
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/control.in (original)
+++ trunk/packages/ocaml-sha1/trunk/debian/control.in Fri Jul 21 20:50:56 2006
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Eric Cooper <ecc at cmu.edu>
-Build-Depends: debhelper (>= 5.0), dpatch, ocaml-nox (>= @OCamlABI@), ocaml-tools, ocaml-findlib
+Build-Depends: debhelper (>= 5.0), ocaml-nox (>= @OCamlABI@), ocaml-tools, ocaml-findlib
Standards-Version: 3.7.2
Package: libsha1-ocaml-dev
Modified: trunk/packages/ocaml-sha1/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-sha1/trunk/debian/rules?rev=2975&op=diff
==============================================================================
--- trunk/packages/ocaml-sha1/trunk/debian/rules (original)
+++ trunk/packages/ocaml-sha1/trunk/debian/rules Fri Jul 21 20:50:56 2006
@@ -1,26 +1,25 @@
#!/usr/bin/make -f
-include /usr/share/dpatch/dpatch.make
+OCAMLABI = $(shell ocamlc -version)
-OCAMLABI = $(shell ocamlc -version)
+make = $(MAKE) -f debian/Makefile
debian/control:
sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $@.in > $@
build: build-stamp
-build-stamp: patch-stamp
+build-stamp:
dh_testdir
- $(MAKE) byte-code-library
- if [ -x /usr/bin/ocamlopt ]; then $(MAKE) native-code-library; else true; fi
+ cp -p debian/META .
+ $(make) byte-code-library
+ [ ! -x /usr/bin/ocamlopt ] || $(make) native-code-library
touch build-stamp
-clean: clean-patched unpatch
-
-clean-patched:
+clean:
dh_testdir
dh_testroot
- rm -f build-stamp patch-stamp
- -$(MAKE) clean
+ rm -f build-stamp
+ -$(make) clean
dh_clean
DESTDIR = $(CURDIR)/debian/$(shell dh_listpackages)$(shell ocamlc -where)
@@ -31,7 +30,7 @@
dh_clean -k
dh_installdirs
mkdir -p $(DESTDIR)
- $(MAKE) DESTDIR=$(DESTDIR) libinstall
+ $(make) DESTDIR=$(DESTDIR) libinstall
binary-indep: build install
@@ -68,6 +67,6 @@
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: patch build clean binary-indep binary-arch binary install
+.PHONY: build clean binary-indep binary-arch binary install
# -*- makefile-mode -*-
More information about the Pkg-ocaml-maint-commits
mailing list