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
|
#!/usr/bin/make -f
# -*- makefile -*-
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
SOURCE = get-flash-videos
VERSION = $(DEB_VERSION_UPSTREAM)
GIT_URL = git://github.com/monsieurvideo/get-flash-videos.git
ORIGDIR = $(SOURCE)-$(VERSION)
TARNAME = $(SOURCE)_$(VERSION).orig.tar.gz
get-orig-source:
rm -rf $(ORIGDIR)
git clone $(GIT_URL) $(ORIGDIR)
rm -rf $(ORIGDIR)/.git*
rm -rf $(ORIGDIR)/debian
tar --numeric-owner --owner 0 --group 0 -czf ../$(TARNAME) $(ORIGDIR)
rm -rf $(ORIGDIR)
%:
dh $@
override_dh_auto_test:
NO_NETWORK=1 dh_auto_test
|