1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@
get-orig-source:
rm -rf debian/tmp; \
mkdir -p debian/tmp/morse2ascii-$(DEB_VERSION_UPSTREAM).orig
cd debian/tmp; \
wget http://aluigi.altervista.org/mytoolz/morse2ascii.zip
cd debian/tmp; \
echo "5a9fe366f1de016ecaf37bea02237f22aacd365a968a28267c98fc626664918ca024bc8b56818fed2695036d5b8d7600ad9d1b5920178353dd46e5a49efa85bb *morse2ascii.zip" \
| sha512sum -c
cd debian/tmp/morse2ascii-$(DEB_VERSION_UPSTREAM).orig; \
unzip ../morse2ascii.zip; rm morse2ascii.exe
cd debian/tmp; \
tar cvJf ../../morse2ascii_$(DEB_VERSION_UPSTREAM).orig.tar.xz \
morse2ascii-$(DEB_VERSION_UPSTREAM).orig/
rm -rf debian/tmp
|