tags 454960 + patch thank you
Here is a patch to convert to cdbs along with a couple of other minor fixes and standards bump.
Hope you can use it. Thank you, Barry deFreese
diff -u libsdl-ruby-1.1.0/debian/changelog libsdl-ruby-1.1.0/debian/changelog --- libsdl-ruby-1.1.0/debian/changelog +++ libsdl-ruby-1.1.0/debian/changelog @@ -1,3 +1,12 @@ +libsdl-ruby (1.1.0-3) unstable; urgency=low + + * Move to CDBS + * Bump debhelper build-dep to 5 and add compat file + * Move url from package description to Homepage field in control + * Bump Standards Version to 3.7.3 + + -- Barry deFreese <[EMAIL PROTECTED]> Tue, 18 Dec 2007 16:32:50 -0500 + libsdl-ruby (1.1.0-2) unstable; urgency=low * New maintainer. diff -u libsdl-ruby-1.1.0/debian/control libsdl-ruby-1.1.0/debian/control --- libsdl-ruby-1.1.0/debian/control +++ libsdl-ruby-1.1.0/debian/control @@ -2,10 +2,11 @@ Section: interpreters Priority: optional Maintainer: Debian Ruby Extras Maintainers <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 3.0.0), ruby1.8, ruby1.8-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev, libsdl-sge-dev, libsmpeg-dev -Standards-Version: 3.6.2.2 +Build-Depends: debhelper (>> 5.0.0), cdbs, ruby-pkg-tools, ruby1.8, ruby1.8-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev, libsdl-sge-dev, libsmpeg-dev +Standards-Version: 3.7.3 Vcs-Browser: http://svn.debian.org/wsvn/pkg-ruby-extras/packages/libsdl-ruby/ Vcs-Svn: svn://svn.debian.org/pkg-ruby-extras/packages/libsdl-ruby/ +Homepage: http://www.libsdl.org Package: libsdl-ruby1.8 Architecture: any @@ -17,3 +18 @@ - provide fast access to the graphics framebuffer and audio device. See - http://www.libsdl.org/ if you want to know SDL in detail. - + provide fast access to the graphics framebuffer and audio device. diff -u libsdl-ruby-1.1.0/debian/rules libsdl-ruby-1.1.0/debian/rules --- libsdl-ruby-1.1.0/debian/rules +++ libsdl-ruby-1.1.0/debian/rules @@ -2,85 +2,7 @@ -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk -# This is the debhelper compatability version to use. -export DH_COMPAT=4 +DEB_RUBY_SETUP_ARGS = --enable-event2 -RUBY := ruby1.8 - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - $(RUBY) extconf.rb --enable-event2 - - touch configure-stamp - -build: configure-stamp build-stamp -build-stamp: - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #/usr/bin/docbook-to-man debian/libsdl-ruby.sgml > libsdl-ruby.1 - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) distclean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/libsdl-ruby. - $(MAKE) install sitelibdir=$(CURDIR)/debian/libsdl-$(RUBY)$(shell $(RUBY) -rrbconfig -e 'print Config::CONFIG["rubylibdir"]') - - -# 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_installdebconf - dh_installdocs README* NEWS* *.rd *.html rubysdl_const_list.txt - dh_installexamples sample/* -# dh_installmenu -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installman -# dh_installinfo -# dh_undocumented - dh_installchangelogs - dh_link - dh_strip - dh_compress -X.rb -X.html - dh_fixperms -# dh_makeshlibs - dh_installdeb -# dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +DEB_RUBY_INSTALL_ARGS = sitelibdir=$(CURDIR)/debian/libsdl-ruby1.8$(shell ruby1.8 -rrbconfig -e 'print Config::CONFIG["rubylibdir"]') only in patch2: unchanged: --- libsdl-ruby-1.1.0.orig/debian/docs +++ libsdl-ruby-1.1.0/debian/docs @@ -0,0 +1,6 @@ +README* +NEWS* +*.rd +*.html +rubysdl_const_list.txt +doc/* only in patch2: unchanged: --- libsdl-ruby-1.1.0.orig/debian/examples +++ libsdl-ruby-1.1.0/debian/examples @@ -0,0 +1 @@ +sample/*