ck/debian/rules
Daniel Baumann 01140f6cdc
Skipping failing test-suite on mipsel and mips64el.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-09 07:41:35 +01:00

28 lines
524 B
Makefile
Executable file

#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
ifneq (,$(filter $(DEB_HOST_ARCH), armel x32))
PLATFORM = --platform=unknown
endif
ifeq ($(DEB_HOST_ARCH), i386)
PLATFORM = --disable-sse
endif
%:
dh ${@}
override_dh_auto_configure:
dh_auto_configure -- \
--prefix=/usr \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--includedir=/usr/include \
--mandir=/usr/share/man \
--cores=2 \
$(PLATFORM)
override_dh_auto_test:
ifeq (,$(filter $(DEB_HOST_ARCH), mipsel mips64el ))
$(MAKE) -j1 check
endif