[med-svn] r6128 - trunk/packages/gbrowse/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Tue Mar 1 12:24:14 UTC 2011
Author: osallou-guest
Date: 2011-03-01 12:24:11 +0000 (Tue, 01 Mar 2011)
New Revision: 6128
Added:
trunk/packages/gbrowse/trunk/debian/gbrowse-data.install
trunk/packages/gbrowse/trunk/debian/gbrowse-data.postinst
Modified:
trunk/packages/gbrowse/trunk/debian/control
trunk/packages/gbrowse/trunk/debian/rules
Log:
separate databases in a data package
Modified: trunk/packages/gbrowse/trunk/debian/control
===================================================================
--- trunk/packages/gbrowse/trunk/debian/control 2011-03-01 10:35:59 UTC (rev 6127)
+++ trunk/packages/gbrowse/trunk/debian/control 2011-03-01 12:24:11 UTC (rev 6128)
@@ -23,6 +23,7 @@
libgd-gd2-noxpm-perl (>= 2.07) | libgd-gd2-perl (>= 2.07), libio-string-perl,
libjson-perl, libstatistics-descriptive-perl, libwww-perl, perl,
perl (>= 5.10.0) | libextutils-cbuilder-perl, libterm-readkey-perl, sqlite3, libdbd-sqlite3-perl, libterm-readkey-perl
+Suggests: gbrowse-data
Description: The GMOD Generic Genome Browser
The Generic Genome Browser is a simple but highly
configurable web-based genome browser. It is a component of the
@@ -43,3 +44,9 @@
* Customizable plug-in architecture (e.g. run BLAST, dump & import many
formats, find oligonucleotides, design primers, create restriction maps,
edit features).
+
+Package: gbrowse-data
+Architecture: all
+Depends: gbrowse
+Description: Sample data to use GBrowse
+ This package contains sample data to test the gbrowse tool.
Added: trunk/packages/gbrowse/trunk/debian/gbrowse-data.install
===================================================================
--- trunk/packages/gbrowse/trunk/debian/gbrowse-data.install (rev 0)
+++ trunk/packages/gbrowse/trunk/debian/gbrowse-data.install 2011-03-01 12:24:11 UTC (rev 6128)
@@ -0,0 +1 @@
+sample_data/* usr/share/gbrowse/databases/
Added: trunk/packages/gbrowse/trunk/debian/gbrowse-data.postinst
===================================================================
--- trunk/packages/gbrowse/trunk/debian/gbrowse-data.postinst (rev 0)
+++ trunk/packages/gbrowse/trunk/debian/gbrowse-data.postinst 2011-03-01 12:24:11 UTC (rev 6128)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+#DEBHELPER#
+
+
+chown -R root:www-data /usr/share/gbrowse2/databases
+chmod -R 770 /usr/share/gbrowse2/databases
+
Modified: trunk/packages/gbrowse/trunk/debian/rules
===================================================================
--- trunk/packages/gbrowse/trunk/debian/rules 2011-03-01 10:35:59 UTC (rev 6127)
+++ trunk/packages/gbrowse/trunk/debian/rules 2011-03-01 12:24:11 UTC (rev 6128)
@@ -29,6 +29,8 @@
chmod 755 debian/gbrowse/etc/default/gbrowse-slave
#Rename pl scripts in bin
rename 's/\.pl//' debian/gbrowse/bin/*.pl
+ # Remove databases, keep it as additional package
+ rm -rf debian/gbrowse/usr/share/gbrowse2/databases/*
override_dh_installman:
@@ -36,3 +38,11 @@
rename 's/\.pl\.1p/\.1p/' debian/gbrowse/man/man1/*.pl.1p
dh_installman
rm -rf debian/gbrowse/man
+
+
+
+
+
+override_dh_auto_build-gbrowse-data:
+ #Skip
+
More information about the debian-med-commit
mailing list