Author: soonio-guest
Date: 2012-02-29 17:31:04 +0000 (Wed, 29 Feb 2012)
New Revision: 9818

Modified:
   trunk/packages/meme/trunk/debian/changelog
   trunk/packages/meme/trunk/debian/rules
Log:
Meme and meme-examples packages added


Modified: trunk/packages/meme/trunk/debian/changelog
===================================================================
--- trunk/packages/meme/trunk/debian/changelog  2012-02-29 17:30:35 UTC (rev 
9817)
+++ trunk/packages/meme/trunk/debian/changelog  2012-02-29 17:31:04 UTC (rev 
9818)
@@ -1,3 +1,9 @@
+meme (4.8.1-1) lucid; urgency=low
+
+  * Rebuild for PPA
+
+ -- H. Soon Gweon (Key for package building) <[email protected]>  Mon, 27 Feb 
2012 18:32:40 +0000
+
 meme (4.7.0-1) UNRELEASED; urgency=low
 
   [ Thorsten Alteholz ]

Modified: trunk/packages/meme/trunk/debian/rules
===================================================================
--- trunk/packages/meme/trunk/debian/rules      2012-02-29 17:30:35 UTC (rev 
9817)
+++ trunk/packages/meme/trunk/debian/rules      2012-02-29 17:31:04 UTC (rev 
9818)
@@ -7,20 +7,38 @@
 LOGPATH=/var/log/meme
 
 %:
-       dh $@ --with quilt
+       dh $@ --with quilt,autoreconf
 
 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 \
-               --with-logs=$(LOGPATH)  --with-db=$(DBPATH)
+       ./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=`pwd`/debian/meme/$(DBPATH)
+       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
+       dh_install -v --sourcedir=debian/tmp
+
 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
+       find -type f -name Makefile -exec rm '{}' ';'
 
+#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


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

Reply via email to