Commit c0d0ab93 authored by Fabio Tranchitella's avatar Fabio Tranchitella

New release.

parent 07268d86
mapserver (5.0.0-2) unstable; urgency=low
* debian/rules, debian/controls: new patch for the ruby bindings, which
follows the ruby policy draft.
-- Fabio Tranchitella <kobold@debian.org> Thu, 11 Oct 2007 13:46:22 +0200
mapserver (5.0.0-1) unstable; urgency=low
[ Fabio Tranchitella ]
......
......@@ -77,20 +77,28 @@ Description: documentation for MapServer
functionality in MapScript is provided by the suggested mapscript
library packages.
Package: ruby1.8-mapscript
Package: libmapscript-ruby
Section: devel
Architecture: all
Depends: libmapscript-ruby1.8
Description: Ruby MapServer library
Ruby MapScript provides MapServer functions for Ruby scripts.
.
This package conains exapmles and depends on package for Debian
default version of Ruby.
Package: libmapscript-ruby1.8
Section: devel
Architecture: any
Depends: ${shlibs:Depends}
Suggests: mapserver-bin, mapserver-doc
Provides: ruby-mapscript
Description: Ruby MapServer library
Ruby MapScript provides MapServer functions for Ruby scripts.
Package: ruby1.9-mapscript
Package: libmapscript-ruby1.9
Section: devel
Architecture: any
Depends: ${shlibs:Depends}
Suggests: mapserver-bin, mapserver-doc
Provides: ruby-mapscript
Description: Ruby MapServer library
Ruby MapScript provides MapServer functions for Ruby scripts.
......@@ -136,8 +136,8 @@ clean-first-build:
-cd mapscript/python && \
for python in $(PYVERS); do $$python setup.py clean; done
-$(RM) -rf mapscript/python/build
-cd mapscript/ruby && $(MAKE) distclean
-$(RM) -rf mapscript/ruby/mapscript_wrap.c
-$(MAKE) distclean -C $(CURDIR)/mapscript/ruby
-$(RM) -rf $(CURDIR)/mapscript/ruby/mapscript_wrap.c
-$(RM) mapscriptvars
-$(RM) mapscript/perl/mapscript.i \
......@@ -195,10 +195,12 @@ install-arch-stamp: build-arch
done
# Ruby mapscript
for v in $(RUBYVERS) ; do \
install -m 644 $(CURDIR)/mapscript/ruby/ruby$$v-mapscript.so \
$(CURDIR)/debian/ruby$$v-mapscript/usr/lib/ruby/$$v/mapscript.so ; \
done
cd $(CURDIR)/mapscript/ruby && set -e ; \
for v in $(RUBYVERS) ; do \
ruby$$v extconf.rb ; \
$(MAKE) install sitedir=$(CURDIR)/debian/libmapscript-ruby$$v/usr/lib/ruby ; \
$(MAKE) distclean ; \
done
# Mapserver Binary
install -m755 legend scalebar shp2img shptree \
......@@ -226,6 +228,7 @@ binary-indep: install-indep
dh_testroot -i
dh_installchangelogs -i HISTORY.TXT
dh_installdocs -i
dh_installexamples -i
dh_installdebconf -i
dh_compress -i
dh_link -i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment