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 31 32
|
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
SCONS=scons
%:
dh $@
override_dh_auto_configure:
:
override_dh_auto_build:
$(SCONS) prefix="/usr" sysconfdir="/etc" libdir="/usr/lib/$(DEB_HOST_MULTIARCH)" \
CPPFLAGS="$(CPPFLAGS)" \
CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
CXX="$(CXX)" \
CXXFLAGS="$(CXXFLAGS)" \
LINKFLAGS="$(LDFLAGS)" \
enable_sonic=True
# enable_pkg=True
override_dh_auto_clean:
dh_auto_clean
$(SCONS) -c
rm -fr $(CURDIR)/build
py3clean .
override_dh_auto_install:
scons DESTDIR=$(CURDIR)/debian/tmp install
|