[med-svn] r6425 - trunk/packages/gbrowse/trunk/debian

olivier sallou osallou-guest at alioth.debian.org
Fri Apr 1 15:45:51 UTC 2011


Author: osallou-guest
Date: 2011-04-01 15:45:50 +0000 (Fri, 01 Apr 2011)
New Revision: 6425

Modified:
   trunk/packages/gbrowse/trunk/debian/postrm
   trunk/packages/gbrowse/trunk/debian/rules
Log:
move all arch perl to share instead of lib

Modified: trunk/packages/gbrowse/trunk/debian/postrm
===================================================================
--- trunk/packages/gbrowse/trunk/debian/postrm	2011-04-01 15:29:26 UTC (rev 6424)
+++ trunk/packages/gbrowse/trunk/debian/postrm	2011-04-01 15:45:50 UTC (rev 6425)
@@ -19,6 +19,8 @@
 rm -rf /usr/share/gbrowse
 fi
 
+rm -f /usr/share/gbrowse/databases/users.sqlite
+
 if [ "$1" = "purge" ]; then
 update-rc.d gbrowse-slave  remove
   if [ -e /etc/init.d/gbrowse-slave ]
@@ -31,6 +33,7 @@
   fi
 fi
 
+
     ;;
 
     *)

Modified: trunk/packages/gbrowse/trunk/debian/rules
===================================================================
--- trunk/packages/gbrowse/trunk/debian/rules	2011-04-01 15:29:26 UTC (rev 6424)
+++ trunk/packages/gbrowse/trunk/debian/rules	2011-04-01 15:45:50 UTC (rev 6425)
@@ -6,7 +6,6 @@
 
 override_dh_auto_build:
 	echo "Skipping this step"
-	#perl Build.PL --install_path lib=/usr/lib/perl5  --conf=/etc/gbrowse --htdocs=/usr/share/gbrowse/htdocs --tmp=/var/cache/gbrowse --databases=/usr/share/gbrowse/databases --cgibin=/usr/lib/cgi-bin/gbrowse --www-user=www-data  --installetc=y
 	#dh_auto_build
 
 override_dh_auto_test:
@@ -19,18 +18,18 @@
 	./Build   apache_conf > debian/gbrowse/etc/gbrowse/apache2.conf
 	perl Build.PL --conf=/etc/gbrowse --htdocs=/usr/share/gbrowse/htdocs --tmp=/var/cache/gbrowse --databases=/usr/share/gbrowse/databases --cgibin=/usr/lib/cgi-bin/gbrowse --www-user=www-data  --installetc=y
 	./Build  --install_base=debian/gbrowse install_slave
-	mkdir -p debian/gbrowse/usr/lib/perl5
-	mv debian/gbrowse/lib/perl5/*/* debian/gbrowse/usr/lib/perl5/
+	mkdir -p debian/gbrowse/usr/share/perl5
+	mv debian/gbrowse/lib/perl5/*/* debian/gbrowse/usr/share/perl5/
 	# Remove arch dependant data
 	mkdir -p debian/gbrowse-calign/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign
-	mv debian/gbrowse/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/* debian/gbrowse-calign/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/
+	mv debian/gbrowse/usr/share/perl5/auto/Bio/Graphics/Browser2/CAlign/* debian/gbrowse-calign/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign/
 	#rm -rf debian/gbrowse/usr/lib/perl5/auto/Bio/Graphics/Browser2/CAlign
 	mkdir -p debian/gbrowse-calign/usr/lib/perl5/Bio/Graphics/Browser2/
-	mv debian/gbrowse/usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm debian/gbrowse-calign/usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm
+	mv debian/gbrowse/usr/share/perl5/Bio/Graphics/Browser2/CAlign.pm debian/gbrowse-calign/usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm
 	#rm -f debian/gbrowse/usr/lib/perl5/Bio/Graphics/Browser2/CAlign.pm
 	rm -rf debian/gbrowse/lib
 	rm -f debian/gbrowse/usr/share/doc/gbrowse/INSTALL
-	rm -f debian/gbrowse/usr/lib/perl5/auto/GBrowse/.packlist
+	rm -f debian/gbrowse/usr/share/perl5/auto/GBrowse/.packlist
 	rm -f debian/gbrowse/usr/share/gbrowse/htdocs/js/prototype.js
 	rm -f debian/gbrowse/usr/share/gbrowse/htdocs/js/scriptaculous.js
 	chmod 644 debian/gbrowse/etc/gbrowse/MobyServices/text_xml_renderer.pm
@@ -54,6 +53,7 @@
 	mv debian/gbrowse/man/man3/Bio::Graphics::Browser2::CAlign.3pm debian/gbrowse-calign/man/man3/Bio::Graphics::Browser2::CAlign.3pm
 	dh_installman
 	rm -rf debian/gbrowse/man
+	rm -rf debian/gbrowse-calign/man
 
 
 override_dh_auto_build-gbrowse-data:




More information about the debian-med-commit mailing list