packaging: parallelize libqt-jami deb package build

Change-Id: Ie938153fd4581e6007c4c2c65b82649c56c31e4c
parent 6c238b06
......@@ -3,16 +3,23 @@
# export DH_VERBOSE = 1
# Number of CPUS
NO_CPUS=$(shell nproc)
ifeq ($(NO_CPUS),0)
NO_CPUS=1
endif
%:
dh $@
override_dh_auto_configure:
./configure \
-opensource \
-confirm-license \
-nomake examples \
-nomake tests \
-prefix "${QT_JAMI_PREFIX}"
MAKEFLAGS="-j$(NO_CPUS) V=1" \
./configure \
-opensource \
-confirm-license \
-nomake examples \
-nomake tests \
-prefix "${QT_JAMI_PREFIX}"
override_dh_auto_install:
dh_auto_install -Smakefile -- INSTALL_ROOT=$(CURDIR)/debian/tmp/
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