Author: ivomaintz-guest
Date: 2011-11-17 13:47:35 +0000 (Thu, 17 Nov 2011)
New Revision: 8595

Modified:
   trunk/packages/libsbml/trunk/debian/changelog
   trunk/packages/libsbml/trunk/debian/rules
Log:
added the get-orig-source target
update from upstream


Modified: trunk/packages/libsbml/trunk/debian/changelog
===================================================================
--- trunk/packages/libsbml/trunk/debian/changelog       2011-11-17 13:39:44 UTC 
(rev 8594)
+++ trunk/packages/libsbml/trunk/debian/changelog       2011-11-17 13:47:35 UTC 
(rev 8595)
@@ -1,3 +1,9 @@
+libsbml (5.2.0-1) unstable; urgency=low
+
+  * update from upstream
+
+ -- Ivo Maintz <[email protected]>  Mon, 14 Nov 2011 13:08:05 +0100
+
 libsbml (5.1.0~b0-1) unstable; urgency=low
 
   * Upstream update

Modified: trunk/packages/libsbml/trunk/debian/rules
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules   2011-11-17 13:39:44 UTC (rev 
8594)
+++ trunk/packages/libsbml/trunk/debian/rules   2011-11-17 13:47:35 UTC (rev 
8595)
@@ -22,7 +22,7 @@
 
 
 # shared library versions, option 1
-version=5.1.0~b0
+version=5.2.0
 major=5
 
 libpack := libsbml
@@ -33,9 +33,17 @@
 javapack := $(libpack)-dev
 debtmp := $(CURDIR)/debian/tmp
 dbgpack := $(libpack)$(major)-dbg
+SRC_TMP := $(CURDIR)/SRC_TMP
 # Test for matlab
 BIND_MATLAB := $(shell which matlab | grep -q matlab && echo '--with-matlab')
 
+get-orig-source:
+       rm -rf $(SRC_TMP) && mkdir $(SRC_TMP)
+       [ -f ../libSBML-$(version)-src.zip ] ||  wget -O 
../libsbml-$(version)-src.zip 
http://qa.debian.org/watch/sf.php/sbml/libSBML-$(version)-src.zip
+       cd $(SRC_TMP) && unzip ../../libsbml-$(version)-src.zip
+       cd $(SRC_TMP)/libsbml-$(version) && tar cvzf 
../../../libsbml_$(version).orig.tar.gz .
+       rm -rf $(SRC_TMP)
+
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to