/[debian]/libjempbox-java/trunk/debian/rules
ViewVC logotype

Diff of /libjempbox-java/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 716 by gregoa, Tue Mar 20 20:07:15 2007 UTC revision 717 by gregoa, Sat Apr 28 14:33:48 2007 UTC
# Line 11  Line 11 
11    
12  include /usr/share/dpatch/dpatch.make  include /usr/share/dpatch/dpatch.make
13    
 CURRENT:=$(shell dpkg-parsechangelog | perl -ne 'print if s/^Version: ([0-9.]+).dfsg.*$$/$$1/')  
 URL:=$(shell uscan -report | grep -Eo "http://qa.debian.org/watch/sf.php/jempbox/JempBox-.+-dev\.zip")  
   
 ifeq ($(strip $(URL)),)  
         URL:="http://qa.debian.org/watch/sf.php/jempbox/JempBox-$(CURRENT)-dev.zip"  
 endif  
   
 VERSION=$(shell echo $(URL) | perl -pe 's/.+JempBox-(.+)-dev.+/$$1/g')  
 TMPDIR:=$(shell mktemp -d)  
   
14  get-orig-source:  get-orig-source:
15          wget -q -P$(TMPDIR) $(URL)          uscan --force-download
         unzip $(TMPDIR)/*.zip -d $(TMPDIR)/libjempbox-java-$(VERSION)  
         rm -r $(TMPDIR)/libjempbox-java-$(VERSION)/JempBox-$(VERSION)-dev/lib  
         rm -r $(TMPDIR)/libjempbox-java-$(VERSION)/JempBox-$(VERSION)-dev/bin  
         cd $(TMPDIR)/libjempbox-java-$(VERSION) && tar cfz libjempbox-java-$(VERSION).dfsg.tar.gz JempBox-$(VERSION)-dev && cd $(CURDIR)  
         mv $(TMPDIR)/libjempbox-java-$(VERSION)/libjempbox-java-$(VERSION).dfsg.tar.gz $(CURDIR)/../  
         rm -rf $(TMPDIR)  
16    
17  configure: configure-stamp  configure: configure-stamp
18    

Legend:
Removed from v.716  
changed lines
  Added in v.717

  ViewVC Help
Powered by ViewVC 1.1.26