[DRE-commits] [ruby-uconv] 01/06: Use gem2deb
Taku YASUI
tach at debian.org
Thu Aug 15 10:16:51 UTC 2013
This is an automated email from the git hooks/post-receive script.
tach pushed a commit to branch master
in repository ruby-uconv.
commit 232b271bdca3af950ed34f6390425594cb914c80
Author: Taku YASUI <tach at debian.org>
Date: Sun May 6 14:02:10 2012 +0900
Use gem2deb
---
debian/control | 2 ++
debian/rules | 89 +++++++++-----------------------------------------------
2 files changed, 15 insertions(+), 76 deletions(-)
diff --git a/debian/control b/debian/control
index 4a87cf6..995477f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Standards-Version: 3.8.4
Homepage: http://www.yoshidam.net/Ruby.html#uconv
Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-uconv.git
Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-uconv.git;a=summary
+XS-Ruby-Versions: 1.8 1.9.1
Package: ruby-uconv
Architecture: any
@@ -15,6 +16,7 @@ Depends: ${shlibs:Depends, ${misc:Depends}, libruby1.8, libruby1.9.1
Provides: libuconv-ruby1.8, libuconv-ruby1.9.1
Replaces: libuconv-ruby1.8 (<< 0.5.3-2~), libuconv-ruby1.9.1 (<< 0.5.3-2~)
Breaks: libuconv-ruby1.8 (<< 0.5.3-2~), libuconv-ruby1.9.1 (<< 0.5.3-2~)
+XB-Ruby-Versions: ${ruby:Versions}
Description: Unicode/EUC-JP translation module for Ruby
The encoding translation module for the object-oriented scripting language
Ruby 1.8. Supported character encodings are UCS-4, UTF-16, UTF-8, EUC-JP
diff --git a/debian/rules b/debian/rules
index f394d9b..a5e7dc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,78 +1,15 @@
#!/usr/bin/make -f
-# -*- mode: makefile; -*-
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-
-# This is the debhelper compatability version to use.
-#export DH_COMPAT=3
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- -rm -rf build-tree-1.8 build-tree-1.9.1
- mkdir build-tree-1.8 build-tree-1.9.1
- cd build-tree-1.8 && ruby1.8 ../extconf.rb --enable-fullwidth-reverse-solidus && $(MAKE)
- cd build-tree-1.9.1 && ruby1.9.1 ../extconf.rb --enable-fullwidth-reverse-solidus && $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp install-stamp
-
- -rm -rf build-tree-1.8 build-tree-1.9.1
-
- dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/tmp.
- $(MAKE) -C build-tree-1.8 sitedir=$(CURDIR)/debian/libuconv-ruby1.8/usr/lib/ruby install
- $(MAKE) -C build-tree-1.9.1 sitedir=$(CURDIR)/debian/libuconv-ruby1.9.1/usr/lib/ruby install
-
- touch install-stamp
-
-# 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_testversion
- dh_testdir
- dh_testroot
- dh_installdocs -A README*
-# dh_installexamples -A samples/*
-# dh_installmenu
-# dh_installemacsen
-# dh_installpam
-# dh_installinit
-# dh_installcron
-# dh_installmanpages
-# dh_undocumented
- dh_installchangelogs
- dh_link
- dh_strip
- dh_compress -X.rb
- dh_fixperms
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+#
+# 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-uconv.git
More information about the Pkg-ruby-extras-commits
mailing list