File: rules

package info (click to toggle)
r-cran-glmmtmb 1.1.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,124 kB
  • sloc: cpp: 1,506; sh: 16; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 617 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# No parallel builds on mipsel
PARALLEL :=
ifneq (,$(filter $(DEB_HOST_ARCH), mipsel))
    PARALLEL := --no-parallel
endif

%:
	dh $@ --buildsystem R $(PARALLEL)

override_dh_gencontrol:
	tmbversion=`dpkg -l r-cran-tmb | grep 'ii' | sed 's/^.*r-cran-tmb[[:space:]]\+\([0-9.-]\+\)[[:space:]]\+.*/\1/'`; \
	sed -i "s/r-cran-tmb[^,]*/r-cran-tmb (>= $${tmbversion})/" debian/*substvars
	dh_gencontrol

#	This is to strict - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055922#68
#	sed -i "s/r-cran-tmb[^,]*/r-cran-tmb (>= $${tmbversion}), r-cran-tmb (< $${tmbversion}99)/" debian/*substvars