Package: src:boinc
Version: 7.6.31+dfsg-6
Dear maintainer:
According to the build log, this is the contents of the "boinc" package:
drwxr-xr-x root/root 0 2016-04-14 22:58 ./
drwxr-xr-x root/root 0 2016-04-14 22:58 ./usr/
drwxr-xr-x root/root 0 2016-04-14 22:58 ./usr/share/
drwxr-xr-x root/root 0 2016-04-14 22:58 ./usr/share/doc/
drwxr-xr-x root/root 0 2016-04-14 22:58 ./usr/share/doc/boinc/
-rw-r--r-- root/root 176 2016-02-23 17:12
./usr/share/doc/boinc/README.Debian
-rw-r--r-- root/root 33405 2016-04-07 12:37
./usr/share/doc/boinc/changelog.Debian.gz
-rw-r--r-- root/root 44957 2016-02-23 17:13 ./usr/share/doc/boinc/copyright
However, "dpkg-buildpackage -A" takes more than 10 minutes
(in my computer) to generate it, which is quite suboptimal.
The following patch tries to fix that. The package already uses "dh"
so you will see that the patch is reasonable and clean.
[ Note: No "Arch: any" package has been harmed in creating the patch ]
Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -190,6 +190,8 @@ else
dh $@ --with python2,autoreconf,systemd
endif
+override_dh_autoreconf-indep:
+
override_dh_clean:
dh_clean
rm -rf config.log
@@ -220,7 +222,9 @@ override_dh_auto_test:
# debian/conffiles/global_prefs_override.xml
# touch $@
-override_dh_auto_configure:
+override_dh_auto_configure-indep:
+
+override_dh_auto_configure-arch:
debconf-updatepo
#./_autosetup
#if [ ! -r ltmain.sh ]; then libtoolize; fi
@@ -242,7 +246,9 @@ update-boinc-applinks.1:
debian/manpages/update-boinc-applinks.xml
CFLAGS_plain = -g -O0 -Wall
CXXFLAGS_plain = $(CFLAGS_plain)
-override_dh_auto_build: update-boinc-applinks.1
+override_dh_auto_build-indep:
+
+override_dh_auto_build-arch: update-boinc-applinks.1
@echo
@echo "**** *****"
@echo "**** Making *****"
@@ -353,7 +359,9 @@ override_dh_auto_clean:
SAMPLES=samples/sleeper/sleeper samples/worker/worker samples/example_app/uc2
samples/wrapper/wrapper
-override_dh_auto_install: update-boinc-applinks.1
+override_dh_auto_install-indep:
+
+override_dh_auto_install-arch: update-boinc-applinks.1
dh_auto_install
ifeq (,$(ENABLE_SERVER_TEST))
echo "I: Installing example scientific applications"