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
DEBIAN_PATH := $(abspath $(dir $(firstword $(MAKEFILE_LIST))))
%:
dh $@ --parallel
override_dh_auto_configure:
ln -sf /usr/share/misc/config.guess config/config.guess
ln -sf /usr/share/misc/config.sub config/config.sub
dh_auto_configure -- --with-gtk=2 --with-ftgl
override_dh_auto_clean:
dh_testroot
dh_auto_clean
rm -f build-stamp
rm -f po/es.gmo po/stamp-po
rm -f config/config.guess config/config.sub
override_dh_auto_build:
dh_auto_build -- LDFLAGS+=-Wl,--as-needed
cd po ; $(MAKE) es.gmo
override_dh_auto_install:
$(MAKE) install DESTDIR=$(CURDIR)/debian/lightspeed
.PHONY: override_dh_strip
override_dh_strip:
dh_strip
get-orig-source:
uscan --noconf --verbose --force-download --rename $(DEBIAN_PATH) --destdir $(CURDIR)
|