[DRE-commits] r2205 - in packages/libdb4.2-ruby/trunk/debian: . Attic

lucas at alioth.debian.org lucas at alioth.debian.org
Sat Dec 8 14:37:32 UTC 2007


Author: lucas
Date: 2007-12-08 14:37:32 +0000 (Sat, 08 Dec 2007)
New Revision: 2205

Added:
   packages/libdb4.2-ruby/trunk/debian/Attic/
   packages/libdb4.2-ruby/trunk/debian/Attic/libdb4.2-ruby1.9.patch
Log:
uploaded

Added: packages/libdb4.2-ruby/trunk/debian/Attic/libdb4.2-ruby1.9.patch
===================================================================
--- packages/libdb4.2-ruby/trunk/debian/Attic/libdb4.2-ruby1.9.patch	                        (rev 0)
+++ packages/libdb4.2-ruby/trunk/debian/Attic/libdb4.2-ruby1.9.patch	2007-12-08 14:37:32 UTC (rev 2205)
@@ -0,0 +1,102 @@
+Index: control
+===================================================================
+--- control	(revision 2200)
++++ control	(working copy)
+@@ -2,7 +2,7 @@
+ Section: interpreters
+ Priority: optional
+ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+-Build-Depends: debhelper (>> 4.0.0), libdb4.2-dev, ruby1.8, ruby1.8-dev, ruby1.9, ruby1.9-dev
++Build-Depends: debhelper (>> 4.0.0), libdb4.2-dev, ruby1.8, ruby1.8-dev
+ Standards-Version: 3.6.2
+ Homepage: http://moulon.inra.fr/ruby/bdb.html
+ Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libdb4.2-ruby/
+@@ -16,12 +16,3 @@
+  (http://www.sleepycat.com/).
+  .
+  This package provides BDB linked to libdb4.2.
+-
+-Package: libdb4.2-ruby1.9
+-Architecture: any
+-Depends: ${shlibs:Depends} ${misc:Depends}
+-Description: Interface to Berkeley DB for Ruby 1.9
+- BDB is an interface to Berkeley DB, distributed by Sleepycat
+- (http://www.sleepycat.com/).
+- .
+- This package provides BDB linked to libdb4.2.
+Index: rules
+===================================================================
+--- rules	(revision 2199)
++++ rules	(working copy)
+@@ -16,23 +16,19 @@
+ 
+ rb18_libdir = $(shell ruby1.8 -rrbconfig -e 'print Config::CONFIG["rubylibdir"]')
+ rb18_archdir= $(shell ruby1.8 -rrbconfig -e 'print Config::CONFIG["archdir"]')
+-rb19_libdir = $(shell ruby1.9 -rrbconfig -e 'print Config::CONFIG["rubylibdir"]')
+-rb19_archdir= $(shell ruby1.9 -rrbconfig -e 'print Config::CONFIG["archdir"]')
+ 
+ configure: configure-stamp
+ configure-stamp:
+ 	dh_testdir
+ 
+-	-rm -rf build-tree-{1.8,1.9}
++	-rm -rf build-tree-1.8
+ 	tar -zcf debian/src.tgz $(filter-out debian,$(wildcard *))
+ 
+-	mkdir build-tree-{1.8,1.9}
++	mkdir build-tree-1.8
+ 
+ 	tar -C build-tree-1.8 -zxf debian/src.tgz
+-	tar -C build-tree-1.9 -zxf debian/src.tgz
+ 
+ 	ruby1.8 -C build-tree-1.8 extconf.rb --with-db-version=-4.2
+-	ruby1.9 -C build-tree-1.9 extconf.rb --with-db-version=-4.2
+ 
+ 	touch configure-stamp
+ 
+@@ -42,7 +38,6 @@
+ 	dh_testdir
+ 
+ 	$(MAKE) -C build-tree-1.8 $(so_mkflag)
+-	$(MAKE) -C build-tree-1.9 $(so_mkflag)
+ 
+ 	touch build-stamp
+ 
+@@ -51,7 +46,7 @@
+ 	dh_testroot
+ 	rm -f build-stamp configure-stamp
+ 
+-	-rm -rf build-tree-{1.8,1.9}
++	-rm -rf build-tree-1.8
+ 	-rm -f debian/bdb.html debian/bdb.rd
+ 	-rm -f debian/libdb$(bdb_version)-ruby*.{postinst,prerm,doc-base,README.Debian}
+ 	-rm -f debian/src.tgz
+@@ -66,28 +61,19 @@
+ 
+ 	# Add here commands to install the package into debian/libdb4.1-ruby.
+ 	$(MAKE) -C build-tree-1.8 install RUBYARCHDIR=$(dest_dir)1.8$(rb18_archdir)
+-	$(MAKE) -C build-tree-1.9 install RUBYARCHDIR=$(dest_dir)1.9$(rb19_archdir)
+ 
+ 	cd $(dest_dir)1.8$(rb18_archdir) && \
+ 	  mv -f $(so_base).so $(so_base)$(so_postfix).so
+-	cd $(dest_dir)1.9$(rb19_archdir) && \
+-	  mv -f $(so_base).so $(so_base)$(so_postfix).so
+ 
+ 	(echo "# This file is hack only for Debian System."; \
+ 	 echo "require '$(so_base)$(so_postfix).so'") \
+ 	> $(dest_dir)1.8$(rb18_libdir)/$(so_base)$(so_postfix).rb
+-	(echo "# This file is hack only for Debian System."; \
+-	 echo "require '$(so_base)$(so_postfix).so'") \
+-	> $(dest_dir)1.9$(rb19_libdir)/$(so_base)$(so_postfix).rb
+ 
+ 	for f in debian/in.*; \
+ 	do \
+ 	  sed -e 's!@@ver@@!1.8!g' \
+ 	      -e 's!@@libdir@@!$(rb18_libdir)!g' \
+ 	  < $$f > debian/libdb$(bdb_version)-ruby1.8.`basename $$f | sed -e 's!^in\.!!'`; \
+-	  sed -e 's!@@ver@@!1.9!g' \
+-	      -e 's!@@libdir@@!$(rb19_libdir)!g' \
+-	  < $$f > debian/libdb$(bdb_version)-ruby1.9.`basename $$f | sed -e 's!^in\.!!'`; \
+ 	done
+ 
+ 	sed -e 's/\(((<.*|URL:\)docs\/\(.*\.html.*>))\)/\1\2/g' \




More information about the Pkg-ruby-extras-commits mailing list