blob: a1ff455a7570b7aa9837b200214286c771adbd23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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
|