@@ -40,16 +40,12 @@ configure_options += $(shell dpkg-buildflags --export=configure)
4040# Always build with /bin/bash, to get consistent rbconfig.rb (which embeds SHELL).
4141export SHELL := /bin/bash
4242
43- vtcltk =8.6
44- configure_options += --with-tcltkversion=$(vtcltk )
45- configure_options += --with-tclConfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH ) /tcl$(vtcltk ) /tclConfig.sh
46- configure_options += --with-tkConfig-dir=/usr/lib/$(DEB_HOST_MULTIARCH ) /tk$(vtcltk ) /tkConfig.sh
47- configure_options += --with-tcllib=tcl$(vtcltk )
48- configure_options += --with-tklib=tk$(vtcltk )
49- configure_options += --with-tcl-include=/usr/include/tcl$(vtcltk )
50- configure_options += --with-tk-include=/usr/include/tcl$(vtcltk )
51- configure_options += --with-tcl-lib=/usr/lib/$(DEB_HOST_MULTIARCH )
52- configure_options += --with-tk-lib=/usr/lib/$(DEB_HOST_MULTIARCH )
43+ configure_options += --with-out-ext=tcl
44+ configure_options += --with-out-ext=tk
45+
46+ # for TestExtLibs
47+ configure_options += --with-out-ext=win32ole
48+ configure_options += --with-out-ext=win32api
5349
5450% :
5551 dh $@ --parallel --with autotools-dev --with autoreconf
@@ -69,12 +65,11 @@ override_dh_auto_build-arch:
6965 dh_auto_build -- main V=1
7066
7167override_dh_auto_test-arch :
72- $(MAKE ) check V=1
68+ $(MAKE ) TESTS= " -v -j 4 " V=1 check
7369
7470override_dh_auto_install-arch :
71+ $(MAKE ) update-gems extract-gems
7572 $(MAKE ) install-nodoc V=1 DESTDIR=$(CURDIR ) /debian/tmp
76- # remove RPATH from tcltklib bindings
77- chrpath --delete $(CURDIR ) /debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH ) /ruby/$(RUBY_API_VERSION ) /tcltklib.so
7873 # handle embedded copy of jquery
7974 $(RM ) $(CURDIR ) /debian/tmp/usr/lib/ruby/$(RUBY_API_VERSION ) /rdoc/generator/template/darkfish/js/jquery.js
8075 dh_link -plibruby$(RUBY_VERSION ) /usr/share/javascript/jquery/jquery.min.js /usr/lib/ruby/$(RUBY_API_VERSION ) /rdoc/generator/template/darkfish/js/jquery.js
@@ -105,8 +100,6 @@ override_dh_install-arch:
105100 mkdir -p $(CURDIR ) /debian/tmp/usr/share/systemtap/tapset
106101 sed ' s|@LIBRARY_PATH@|/usr/lib/$(DEB_HOST_MULTIARCH)/libruby-$(RUBY_VERSION).so|g' $(CURDIR ) /debian/libruby.stp > $(CURDIR ) /debian/tmp/usr/share/systemtap/tapset/libruby$(RUBY_VERSION ) -$(DEB_HOST_MULTIARCH ) .stp
107102 dh_install
108- # split Ruby/Tk files
109- $(baseruby ) debian/split-tk-out.rb
110103
111104import-orig-source :
112105 test -d .git
0 commit comments