[DRE-commits] [ruby-exif] 05/11: change to gem2deb
Jonas Genannt
jonas at brachium-system.net
Thu Dec 19 16:39:33 UTC 2013
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-exif.
commit 78f2dc6d23d2c8a833dfd47c7feae52d5e742f9a
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Wed Dec 18 22:05:25 2013 +0100
change to gem2deb
---
debian/rules | 48 ++++++++++++++----------------------------------
1 file changed, 14 insertions(+), 34 deletions(-)
diff --git a/debian/rules b/debian/rules
index 218a26a..a5e7dc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,35 +1,15 @@
#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/langcore.mk
-
-#DUMMY_PACKAGES = libexif-ruby1.8 libexif-ruby1.9.1
-RUBY_VERSIONS = 1.8 1.9.1
-#CUR_RUBYVER=$(subst libexif-ruby,,$(cdbs_curpkg))
-CUR_PKGDIR=$(CURDIR)/debian/$(cdbs_curpkg)
-DEB_OPT_FLAG = -fPIC
-
-makebuilddir/ruby-exif::
- for d in $(RUBY_VERSIONS); do \
- mkdir -p $(CURDIR)/build-$$d && cp exif.c extconf.rb $(CURDIR)/build-$$d; \
- done
-
-configure/ruby-exif::
- for d in $(RUBY_VERSIONS); do \
- cd $(CURDIR)/build-$$d && ruby$$d extconf.rb; \
- done
-
-build/ruby-exif::
- for d in $(RUBY_VERSIONS); do \
- cd $(CURDIR)/build-$$d && $(MAKE); \
- done
-
-install/ruby-exif::
- for d in $(RUBY_VERSIONS); do \
- cd $(CURDIR)/build-$$d && $(MAKE) install DESTDIR=$(CUR_PKGDIR) sitedir='$$(prefix)/lib/ruby/vendor_ruby'; \
- done
-
-clean::
- for d in $(RUBY_VERSIONS); do \
- rm -rf $(CURDIR)/build-$$d; \
- done
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+ dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-exif.git
More information about the Pkg-ruby-extras-commits
mailing list