1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with autoreconf
override_dh_auto_configure:
touch src/configure.in && \
touch src/aclocal.m4 && \
touch src/configure configure
dh_auto_configure -- \
--prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--with-system-gmp=yes \
--with-tcp \
--with-clx \
--enable-threads=yes \
--enable-boehm=system \
--enable-libatomic=system \
--disable-rpath \
--with-x
override_dh_autoreconf:
dh_autoreconf autoreconf -- -f -i src/
#mostly require remote access
override_dh_auto_test:
# install: build-arch
# dh_testdir -a
# dh_testroot -a
# dh_prep -a
# dh_installdirs -a
# # Add here commands to install the package into debian/ecl
# $(MAKE) install prefix=$(CURDIR)/debian/ecl/usr
# # remove rpath from /us/lib/ecl/ binaries (bug #495756)
# # this is a workaround until upstream properly fixes it
# find $(CURDIR)/debian/ecl/usr/lib/ -name "*.fas" -print0 | \
# xargs -0 chrpath -d
# chrpath -d $(CURDIR)/debian/ecl/usr/bin/ecl $(CURDIR)/debian/ecl/usr/lib/libecl.so.*
# cp debian/overrides.ecl $(CURDIR)/debian/ecl/usr/share/lintian/overrides/ecl
|