22 lines
399 B
Makefile
Executable file
22 lines
399 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
ifeq ($(DEB_BUILD_ARCH),armel)
|
|
PLATFORM = --platform=armv7l
|
|
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 \
|
|
--disable-sse $(PLATFORM)
|
|
|
|
override_dh_auto_test:
|
|
$(MAKE) -j1 check
|