[Pkg-ruby-extras-maintainers] r723 -
packages/libsvm-ruby/trunk/debian
Rudi Cilibrasi
cilibrar-guest at costa.debian.org
Mon Jul 31 06:16:31 UTC 2006
Author: cilibrar-guest
Date: 2006-07-31 06:16:30 +0000 (Mon, 31 Jul 2006)
New Revision: 723
Added:
packages/libsvm-ruby/trunk/debian/control.in
Removed:
packages/libsvm-ruby/trunk/debian/control
Modified:
packages/libsvm-ruby/trunk/debian/rules
Log:
moving to cdbs/ruby-pkg-tools if possible
Deleted: packages/libsvm-ruby/trunk/debian/control
===================================================================
--- packages/libsvm-ruby/trunk/debian/control 2006-07-30 19:28:57 UTC (rev 722)
+++ packages/libsvm-ruby/trunk/debian/control 2006-07-31 06:16:30 UTC (rev 723)
@@ -1,19 +0,0 @@
-Source: libsvm-ruby
-Section: libs
-Priority: optional
-Maintainer: Rudi Cilibrasi <cilibrar at cilibrar.com>
-Build-Depends: debhelper (>= 4.0.0), libsvm-dev, libruby1.8, ruby1.8-dev, ruby1.8, pkg-config, automake1.8, autotools-dev
-Standards-Version: 3.7.2
-
-Package: libsvm-ruby1.8
-Architecture: any
-Depends: pkg-config, ruby1.8, ruby1.8-dev, libsvm-dev, ${shlibs:Depends}, ${misc:Depends}
-Description: Ruby binding to LIBSVM, a machine-learning Support Vector Machine
- This is a Ruby binding for the popular and efficient LIBSVM learning package.
-
-Package: libsvm-ruby
-Architecture: all
-Depends: libsvm-ruby1.8
-Description: Ruby bindings for LIBSVM library (dummy package)
- This package is a dependency package pointing to the ruby 1.8 version.
-
Copied: packages/libsvm-ruby/trunk/debian/control.in (from rev 714, packages/libsvm-ruby/trunk/debian/control)
===================================================================
--- packages/libsvm-ruby/trunk/debian/control 2006-07-29 08:21:14 UTC (rev 714)
+++ packages/libsvm-ruby/trunk/debian/control.in 2006-07-31 06:16:30 UTC (rev 723)
@@ -0,0 +1,20 @@
+Source: libsvm-ruby
+Section: libs
+Priority: optional
+Maintainer: Rudi Cilibrasi <cilibrar at cilibrar.com>
+Uploaders: @RUBY_EXTRAS_TEAM@
+Build-Depends: debhelper (>= 4.0.0), libsvm-dev, libruby1.8, ruby1.8-dev, ruby1.8, pkg-config, automake1.8, autotools-dev, cdbs, ruby-pkg-tools
+Standards-Version: 3.7.2
+
+Package: libsvm-ruby1.8
+Architecture: any
+Depends: pkg-config, ruby1.8, ruby1.8-dev, libsvm-dev, ${shlibs:Depends}, ${misc:Depends}
+Description: Ruby binding to LIBSVM, a machine-learning Support Vector Machine
+ This is a Ruby binding for the popular and efficient LIBSVM learning package.
+
+Package: libsvm-ruby
+Architecture: all
+Depends: libsvm-ruby1.8
+Description: Ruby bindings for LIBSVM library (dummy package)
+ This package is a dependency package pointing to the ruby 1.8 version.
+
Modified: packages/libsvm-ruby/trunk/debian/rules
===================================================================
--- packages/libsvm-ruby/trunk/debian/rules 2006-07-30 19:28:57 UTC (rev 722)
+++ packages/libsvm-ruby/trunk/debian/rules 2006-07-31 06:16:30 UTC (rev 723)
@@ -1,101 +1,8 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-# 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/rules/uploaders.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
-
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- aclocal
- automake
- autoconf
- ./configure
- ruby1.8 extconf.rb
-
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
-# -$(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/libsvm-ruby.
- #$(MAKE) install DESTDIR=$(CURDIR)/debian/libsvm-ruby
-
- install -d $(CURDIR)/debian/libsvm-ruby1.8/usr/lib/ruby/1.8
- install SVM.so $(CURDIR)/debian/libsvm-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
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_python
-# dh_makeshlibs
- dh_installdeb
- 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+= \
+ sitearchdir=$(cdbs_pkgdir)/$(shell /usr/bin/ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')
More information about the pkg-ruby-extras-maintainers
mailing list