blob: 2a164eac1fc445dd66330592abf1b6725d1d0ca3 [file] [log] [blame]
# Dpkg default configurations
variables:
rulesfile: "debian/rules"
build: "%{rulesfile} build"
binary: "env DH_OPTIONS='--destdir=.' %{rulesfile} binary"
# packages' default value will be automatically replaced with
# defaults calculated from debian/control. Replace this with a
# space-separated list of packages to have more control over
# what gets generated.
#
# e.g.
# packages: "foo foo-dev foo-doc"
#
packages: <PACKAGES>
install-packages: |
for pkg in %{packages}; do
cp -a debian/${pkg}/* %{install-root}
done
clear-debian: |
rm -r %{install-root}/DEBIAN
patch: |
if grep -q "3.0 (quilt)" debian/source/format; then
quilt push -a
fi
# Set this if the sources cannot handle parallelization.
#
# notparallel: True
config:
# Commands for configuring the software
#
configure-commands:
- |
%{patch}
# Commands for building the software
#
build-commands:
- |
%{build}
- |
%{binary}
# Commands for installing the software into a
# destination folder
#
install-commands:
- |
%{install-packages}
- |
%{clear-debian}
# Commands for stripping debugging information out of
# installed binaries
#
strip-commands:
- |
%{strip-binaries}
# Use max-jobs CPUs for building and enable verbosity
environment:
MAKEFLAGS: -j%{max-jobs}
V: 1
DH_VERBOSE: 1
QUILT_PATCHES: debian/patches
# And dont consider MAKEFLAGS or V as something which may
# effect build output.
environment-nocache:
- MAKEFLAGS
- V
- DH_VERBOSE