[DRE-commits] r3317 - packages-wip/libnokogiri-ruby/trunk/debian

ryan52-guest at alioth.debian.org ryan52-guest at alioth.debian.org
Mon Mar 23 03:05:59 UTC 2009


Author: ryan52-guest
Date: 2009-03-23 03:05:59 +0000 (Mon, 23 Mar 2009)
New Revision: 3317

Added:
   packages-wip/libnokogiri-ruby/trunk/debian/clean
Modified:
   packages-wip/libnokogiri-ruby/trunk/debian/libnokogiri-ruby1.9.install.base
   packages-wip/libnokogiri-ruby/trunk/debian/rules
Log:
do that less hackishly

Added: packages-wip/libnokogiri-ruby/trunk/debian/clean
===================================================================
--- packages-wip/libnokogiri-ruby/trunk/debian/clean	                        (rev 0)
+++ packages-wip/libnokogiri-ruby/trunk/debian/clean	2009-03-23 03:05:59 UTC (rev 3317)
@@ -0,0 +1 @@
+debian/libnokogiri-ruby1.9.install

Modified: packages-wip/libnokogiri-ruby/trunk/debian/libnokogiri-ruby1.9.install.base
===================================================================
--- packages-wip/libnokogiri-ruby/trunk/debian/libnokogiri-ruby1.9.install.base	2009-03-23 01:40:27 UTC (rev 3316)
+++ packages-wip/libnokogiri-ruby/trunk/debian/libnokogiri-ruby1.9.install.base	2009-03-23 03:05:59 UTC (rev 3317)
@@ -1 +1 @@
-lib/* usr/lib/ruby/VERSION/
+lib/* DIR

Modified: packages-wip/libnokogiri-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libnokogiri-ruby/trunk/debian/rules	2009-03-23 01:40:27 UTC (rev 3316)
+++ packages-wip/libnokogiri-ruby/trunk/debian/rules	2009-03-23 03:05:59 UTC (rev 3317)
@@ -1,17 +1,11 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
 
 DEB_RUBY_SETUP_CMD = ext/nokogiri/extconf.rb
 
-build/libnokogiri-ruby1.9:: debian/libnokogiri-ruby1.9.install
-
-RUBY1.9_VERSION = $(shell ruby1.9 --version | awk '{print $$2}')
-
-debian/libnokogiri-ruby1.9.install: debian/libnokogiri-ruby1.9.install.base
+build/libnokogiri-ruby1.9::
 	cp debian/libnokogiri-ruby1.9.install.base debian/libnokogiri-ruby1.9.install
-	sed -i "s/VERSION/${RUBY1.9_VERSION}/g" debian/libnokogiri-ruby1.9.install
-
-clean::
-	rm -f debian/libnokogiri-ruby1.9.install
+	sed -i "s,DIR,$(DEB_RUBY_LIBDIR),g" debian/libnokogiri-ruby1.9.install




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