В общем собралось с такой конструкцией (см ниже) по совету Peter Pentchev
==
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
common_configure_args = \
--prefix=/usr \
--enable-ipv6 \
--enable-shared \
--enable-unicode=ucs4 \
--with-dbmliborder=bdb:gdbm \
--with-system-expat \
--with-system-ffi
%:
dh --buildsystem=autoconf "$@"
override_dh_auto_configure:
dh_auto_configure -- $(common_configure_args)
==
Но понадобилось после сборки переименовать несколько файлов, изменил
констуркцию до
===
common_configure_args = \
--prefix=/usr \
--enable-ipv6 \
--enable-shared \
--enable-unicode=ucs4 \
--with-dbmliborder=bdb:gdbm \
--with-system-expat \
--with-system-ffi
build:
binary:
dh --buildsystem=autoconf "$@"
override_dh_auto_configure:
dh_auto_configure -- $(common_configure_args)
install:
mv $(CURDIR)/debian/tmp/usr/bin/2to3
$(CURDIR)/debian/tmp/usr/bin/2to3-2.7
clean:
dh_testdir
dh_auto_clean --buildsystem=autoconf "$@"
dh_clean
==
Сборка проходит, но видимо не совсем верно - падают некоторые тесты на
make test. Вернее 1 тест упал test_posix
--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52b87d24.4030...@locum.ru