[med-svn] r12797 - trunk/packages/meme/trunk/debian
Andreas Tille
tille at alioth.debian.org
Wed Jan 16 10:59:47 UTC 2013
Author: tille
Date: 2013-01-16 10:59:47 +0000 (Wed, 16 Jan 2013)
New Revision: 12797
Added:
trunk/packages/meme/trunk/debian/rules
Log:
Recreate rules with 755
Added: trunk/packages/meme/trunk/debian/rules
===================================================================
--- trunk/packages/meme/trunk/debian/rules (rev 0)
+++ trunk/packages/meme/trunk/debian/rules 2013-01-16 10:59:47 UTC (rev 12797)
@@ -0,0 +1,59 @@
+#!/usr/bin/make -f
+# debian/rules file for meme
+# Andreas Tille <tille at debian.org>
+# Thorsten Alteholz <debian at alteholz.de>
+# GPL
+
+DBPATH=/var/lib/meme
+LOGPATH=/var/log/meme
+MODULES=alphtype ama ama-qvalues ame beadstring beeml2meme cat_max centrimo ceqlogo changetoweb chen2meme clustalw-io clustalw2fasta clustalw2phylip compare_dates compute-prior-dist compute-uniform-priors download draw-mhmm dreme dust fasta-center fasta-dinucleotide-shuffle fasta-dinucleotide-shuffle.py fasta-fetch fasta-get-markov fasta-hamming-enrich fasta-hamming-enrich.py fasta-io fasta-make-index fasta-shuffle-letters fasta-subsample fasta-unique-names fimo fitevd gendb get_db_csv getsize gomo gomo_highlight hart2meme-bkg hartemink2psp hypergeometric.py iupac2meme jaspar2meme llr log-hmm mast mast2txt mcast meme meme-chip meme-get-motif meme-xml-html meme.bin meme2images meme2meme meme_p metameme mhmm mhmm-io mhmm2html mhmme mhmms mhmmscan motiph nmica2meme oldmeme2meme plotgen pmp_bf prior_utils.pl priority2meme psp-gen purge qvalue ramen ranksum_test read_fasta_file.pl reconcile-tree-alignment reduce-alignment remove-alignment-gaps rna2meme scpd2meme sd sequence.py shadow spamo taipale2meme tamo2meme tomtom transfac2meme tree uniprobe2meme update_db update_meme_tests xsltproc_lite
+
+%:
+ dh $@ --with autoreconf,python2
+
+override_dh_auto_configure:
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --sysconfdir=/etc/meme \
+ --with-logs=$(LOGPATH) --with-db=$(DBPATH)
+
+override_dh_auto_install:
+ # make MEME_DB=`pwd`/debian/meme/$(DBPATH) install
+ dh_auto_install -- MEME_DB=$(DBPATH)
+
+override_dh_install:
+ #Sort out some funny locations used by upstream
+ mv debian/tmp/usr/doc/examples debian/tmp || true
+ mkdir -p debian/tmp/usr/share/doc/meme ; mv debian/tmp/usr/doc/* debian/tmp/usr/share/doc/meme
+ mv debian/tmp/etc/meme/meme.doc debian/tmp/usr/share/doc/meme
+ find ./* -print|grep STRGGTCAN.meme|xargs chmod 644
+ find ./* -print
+ mkdir -p debian/tmp/usr/share/perl5/Meme
+ cp website/scripts/*.pm debian/tmp/usr/share/perl5/Meme
+ cp scripts/*.pm debian/tmp/usr/share/perl5/Meme
+ mkdir -p debian/tmp-manpages
+ $(foreach var,$(MODULES), /usr/bin/pod2man debian/tmp/usr/bin/$(var) > debian/tmp-manpages/$(var).1;)
+ dh_install -v --sourcedir=debian/tmp
+ find ./* -print
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf tests/*/*.sed
+ rm -rf tests/results
+ cd etc; rm -f fasta_db.csv fasta_db.index gomo_db.csv logo.js.xsl meme.css.xsl motif_db.csv motif_db.index tomtom_config.xml
+ rm -f scripts/*.pyc
+ rm -f aclocal.m4
+ find -type f -name Makefile -exec rm '{}' ';'
+
+#XXX Disable testing temporarily to save time
+override_dh_auto_test:
+ true
+
+override_dh_compress:
+ dh_compress -v -X.doc
+
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan --verbose --force-download --destdir=../tarballs
+ cd ../tarballs; \
+ wget -r --no-directories --no-parent -l2 ftp://ftp.ebi.edu.au/pub/software/MEME/r4.9.0/patches \
+ rm -f .r.html
+ echo "Make sure you use the downloaded patches `ls ../tarballs/patch_*` as quilt patch and use the proper patch level in package version in debian/copyright."
Property changes on: trunk/packages/meme/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
More information about the debian-med-commit
mailing list