[med-svn] r6079 - trunk/packages/autodock-vina/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu Feb 24 07:46:32 UTC 2011


Author: tille
Date: 2011-02-24 07:46:31 +0000 (Thu, 24 Feb 2011)
New Revision: 6079

Modified:
   trunk/packages/autodock-vina/trunk/debian/changelog
   trunk/packages/autodock-vina/trunk/debian/rules
Log:
Replace dh-make template by somewhat useful comment; Remove missleading get-orig-source target - there is no need at all to repack upstream source and the next version should be obtained simply by uscan


Modified: trunk/packages/autodock-vina/trunk/debian/changelog
===================================================================
--- trunk/packages/autodock-vina/trunk/debian/changelog	2011-02-24 07:42:17 UTC (rev 6078)
+++ trunk/packages/autodock-vina/trunk/debian/changelog	2011-02-24 07:46:31 UTC (rev 6079)
@@ -10,6 +10,11 @@
   * Remove debian/docs which is just empty
   * debian/patches/do_not_link_against_unneeded_libs.patch:
     Avoid linking against libraries which are not used at all
+  * debian/rules:
+    - Replace dh-make template by somewhat useful comment
+    - Remove missleading get-orig-source target - there is no need
+      at all to repack upstream source and the next version should
+      be obtained simply by uscan
 
  -- Andreas Tille <tille at debian.org>  Thu, 24 Feb 2011 08:14:04 +0100
 

Modified: trunk/packages/autodock-vina/trunk/debian/rules
===================================================================
--- trunk/packages/autodock-vina/trunk/debian/rules	2011-02-24 07:42:17 UTC (rev 6078)
+++ trunk/packages/autodock-vina/trunk/debian/rules	2011-02-24 07:46:31 UTC (rev 6079)
@@ -1,10 +1,7 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
+# debian/rules for autodoc_vinna
+# Authors: Yask Gupta <yask.gupta87 at gmail.com>, Andreas Tille <tille at debian.org>
+# License: GPL
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -16,16 +13,4 @@
 	dh_clean
 	rm -f build/linux/release/*.o build/linux/release/vina*
 
-UVERSION=1_1_1
-DVERSION=`echo $(UVERSION)|tr "_" "."`
-
-get-orig-source:
-	if [ -r tmp.tgz ]; then echo "Reusing previous download."; else  wget -O tmp.tgz http://vina.scripps.edu/download/autodock_vina_$(UVERSION).tgz; fi
-	rm -rf autodock-vina-$(DVERSION)
-	tar xzvf tmp.tgz
-	mv autodock_vina_$(UVERSION) autodock-vina-$(DVERSION)
-	tar czvf ../autodock-vina_$(DVERSION).orig.tar.gz autodock-vina-$(DVERSION)
-	rm -rf autodock_vina_$(UVERSION) tmp.tgz autodock-vina-$(DVERSION)
-
-
 .PHONY: build




More information about the debian-med-commit mailing list