[Pkg-ruby-extras-maintainers] r763 - packages/libinline-ruby/trunk/debian

Patrick Ringl smash-guest at costa.debian.org
Wed Aug 9 01:26:57 UTC 2006


Author: smash-guest
Date: 2006-08-09 01:26:56 +0000 (Wed, 09 Aug 2006)
New Revision: 763

Modified:
   packages/libinline-ruby/trunk/debian/control
   packages/libinline-ruby/trunk/debian/control.in
   packages/libinline-ruby/trunk/debian/rules
Log:
Adapted strcuture so it suits cdbs (debhelper class) / Added cdbs to control and control.in again / Adapted debian/rules and added package.dirs in debian/ aswell

Modified: packages/libinline-ruby/trunk/debian/control
===================================================================
--- packages/libinline-ruby/trunk/debian/control	2006-08-08 21:44:47 UTC (rev 762)
+++ packages/libinline-ruby/trunk/debian/control	2006-08-09 01:26:56 UTC (rev 763)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Patrick Ringl <patrick_ at freenet.de>
 Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Antonio S. de A. Terceiro <asaterceiro at inf.ufrgs.br>, David Moreno Garza <damog at debian.org>, David Nusinow <dnusinow at debian.org>, Paul van Tilburg <paulvt at debian.org>, Esteban Manchado Velázquez <zoso at debian.org>, Arnaud Cornet <arnaud.cornet at gmail.com>, Lucas Nussbaum <lucas at lucas-nussbaum.net>, Thierry Reding <thierry at doppeltgemoppelt.de>, Marc Dequènes (Duck) <Duck at DuckCorp.org>, Ari Pollak <ari at debian.org>, Daigo Moriwaki <daigo at debian.org>
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: cdbs, debhelper (>= 5.0.0)
 Build-Depends-Indep: ruby-pkg-tools (>= 0.8), ruby1.8, ruby1.8-dev
 Standards-Version: 3.7.2
 

Modified: packages/libinline-ruby/trunk/debian/control.in
===================================================================
--- packages/libinline-ruby/trunk/debian/control.in	2006-08-08 21:44:47 UTC (rev 762)
+++ packages/libinline-ruby/trunk/debian/control.in	2006-08-09 01:26:56 UTC (rev 763)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Patrick Ringl <patrick_ at freenet.de>
 Uploaders: @RUBY_EXTRAS_TEAM@
-Build-Depends: debhelper (>= 5.0.0)
+Build-Depends: cdbs, debhelper (>= 5.0.0)
 Build-Depends-Indep: ruby-pkg-tools (>= 0.8), ruby1.8, ruby1.8-dev
 Standards-Version: 3.7.2
 

Modified: packages/libinline-ruby/trunk/debian/rules
===================================================================
--- packages/libinline-ruby/trunk/debian/rules	2006-08-08 21:44:47 UTC (rev 762)
+++ packages/libinline-ruby/trunk/debian/rules	2006-08-09 01:26:56 UTC (rev 763)
@@ -1,50 +1,15 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# This file is public domain software, originally written by Joey Hess. 
+#
+# CDBS file to build the libinline-ruby package.
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	mkdir -p $(CURDIR)/debian/libinline-ruby1.8/usr/lib/ruby/1.8/
-	cp inline.rb `pwd`/debian/libinline-ruby1.8/usr/lib/ruby/1.8/	
+include /usr/share/cdbs/1/rules/debhelper.mk
+configure/libinline-ruby::	
+	dh_installdirs -plibinline-ruby
+	dh_installdirs -plibinline-ruby1.8
+	cp inline.rb $(CURDIR)/debian/libinline-ruby/usr/lib/ruby/1.8/
+	cp inline.rb $(CURDIR)/debian/libinline-ruby1.8/usr/lib/ruby/1.8/
 	
-# 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 --all $(CURDIR)/debian/README.Debian
+install/libinline-ruby::
 	dh_installdocs --all $(CURDIR)/README.txt
 	dh_installexamples --all $(CURDIR)/debian/helloworld_example.rb
-	dh_install
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install




More information about the pkg-ruby-extras-maintainers mailing list