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 29 30
|
#!/usr/bin/make -f
#export DH_VERBOSE = 1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
export PYBUILD_NAME = brotli
%:
dh $@ --buildsystem=pybuild --with=python2 --with=python3
override_dh_auto_build:
dh_auto_build
make bro
BROTLI_CMD=brotli
override_dh_install:
cp bin/bro bin/$(BROTLI_CMD)
dh_install
override_dh_auto_clean:
rm -f bin/$(BROTLI_CMD)
dh_auto_clean
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
dh_auto_test
debian/smoke_test.sh
make test
endif
|