[med-svn] r380 - in trunk/packages/autodocksuite/trunk: . debian

smoe-guest at alioth.debian.org smoe-guest at alioth.debian.org
Thu Jul 26 14:21:17 UTC 2007


Author: smoe-guest
Date: 2007-07-26 14:21:17 +0000 (Thu, 26 Jul 2007)
New Revision: 380

Added:
   trunk/packages/autodocksuite/trunk/debian/
   trunk/packages/autodocksuite/trunk/debian/README.Debian
   trunk/packages/autodocksuite/trunk/debian/autodocksuite-default.ex
   trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.docs
   trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.install
   trunk/packages/autodocksuite/trunk/debian/autodocksuite.doc-base.EX
   trunk/packages/autodocksuite/trunk/debian/changelog
   trunk/packages/autodocksuite/trunk/debian/compat
   trunk/packages/autodocksuite/trunk/debian/control
   trunk/packages/autodocksuite/trunk/debian/copyright
   trunk/packages/autodocksuite/trunk/debian/dirs
   trunk/packages/autodocksuite/trunk/debian/manpage.1.ex
   trunk/packages/autodocksuite/trunk/debian/manpage.sgml.ex
   trunk/packages/autodocksuite/trunk/debian/manpage.xml.ex
   trunk/packages/autodocksuite/trunk/debian/menu.ex
   trunk/packages/autodocksuite/trunk/debian/rules
   trunk/packages/autodocksuite/trunk/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/packages/autodocksuite/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: trunk/packages/autodocksuite/trunk/debian/README.Debian
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/README.Debian	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/README.Debian	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,6 @@
+autodocksuite for Debian
+------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Steffen Moeller <steffen_moeller at gmx.de>  Mon, 23 Jul 2007 16:41:48 +0200

Added: trunk/packages/autodocksuite/trunk/debian/autodocksuite-default.ex
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/autodocksuite-default.ex	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/autodocksuite-default.ex	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,10 @@
+# Defaults for autodocksuite initscript
+# sourced by /etc/init.d/autodocksuite
+# installed at /etc/default/autodocksuite by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=""

Added: trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.docs
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.docs	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.docs	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,2 @@
+#DOCS#
+

Added: trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.install
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.install	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/autodocksuite-doc.install	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,2 @@
+#DOCS#
+

Added: trunk/packages/autodocksuite/trunk/debian/autodocksuite.doc-base.EX
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/autodocksuite.doc-base.EX	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/autodocksuite.doc-base.EX	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,22 @@
+Document: autodocksuite
+Title: Debian autodocksuite Manual
+Author: <insert document author here>
+Abstract: This manual describes what autodocksuite is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/autodocksuite/autodocksuite.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/autodocksuite/autodocksuite.ps.gz
+
+Format: text
+Files: /usr/share/doc/autodocksuite/autodocksuite.text.gz
+
+Format: HTML
+Index: /usr/share/doc/autodocksuite/html/index.html
+Files: /usr/share/doc/autodocksuite/html/*.html
+
+  

Added: trunk/packages/autodocksuite/trunk/debian/changelog
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/changelog	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,6 @@
+autodocksuite (4.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #434654)
+
+ -- Steffen Moeller <steffen_moeller at gmx.de>  Mon, 23 Jul 2007 16:41:48 +0200
+

Added: trunk/packages/autodocksuite/trunk/debian/compat
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/compat	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1 @@
+5

Added: trunk/packages/autodocksuite/trunk/debian/control
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/control	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/control	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,35 @@
+Source: autodocksuite
+Section: science
+Priority: optional
+Maintainer: Steffen Moeller <steffen_moeller at gmx.de>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: autodock
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: autogrid
+Description: analysis of ligand binding to protein structure
+ AutoDock is a well-established suite of programs for the molecular
+ analysis the docking of a smaller chemical compounds to their receptors
+ of known structure.
+ .
+ The AutoDock program performs the docking of the ligand to a set
+ of grids describing the target protein. AutoGrid pre-calculates these grids.
+ .
+  http://autodock.scripps.edu/
+
+Package: autogrid
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: autogrid
+Description: pre-calculate binding of ligands to their receptor
+ AutoDock is a well-established suite of programs for the molecular
+ analysis the docking of a smaller chemical compounds to their receptors
+ of known structure.
+ .
+ The AutoGrid program performs pre-calculations for the docking of a ligand
+ to a set of grids that describe the target protein. Detailed analyses are
+ performed by the AutoDock program.
+ .
+  http://autodock.scripps.edu/

Added: trunk/packages/autodocksuite/trunk/debian/copyright
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/copyright	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,40 @@
+This package was debianized by Steffen Moeller <steffen_moeller at gmx.de> on
+Mon, 23 Jul 2007 16:41:48 +0200.
+
+It was downloaded from http://autodock.scripps.edu/
+
+Upstream Authors:
+
+	Scott Halliday, Bill Hart, Garrett M. Morris, 
+	David S. Goodsell, Ruth Huey, Arthur J. Olson,
+	Richard Belew,
+
+Copyright: 
+
+    Copyright (C)  1989-2007
+	Scott Halliday, Bill Hart,
+	Garrett M. Morris <garrett at scripps.edu>, 
+	David S. Goodsell, Ruth Huey, Arthur J. Olson,
+	Richard Belew,
+
+License:
+
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+ 
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+ 
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Steffen Moeller <steffen_moeller at gmx.de> and
+is licensed under the GPL, see above.

Added: trunk/packages/autodocksuite/trunk/debian/dirs
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/dirs	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/dirs	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: trunk/packages/autodocksuite/trunk/debian/manpage.1.ex
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/manpage.1.ex	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/manpage.1.ex	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH AUTODOCKSUITE SECTION "Juli 23, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+autodocksuite \- program to do something
+.SH SYNOPSIS
+.B autodocksuite
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B autodocksuite
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBautodocksuite\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+autodocksuite was written by <upstream author>.
+.PP
+This manual page was written by Steffen Moeller <steffen_moeller at gmx.de>,
+for the Debian project (but may be used by others).

Added: trunk/packages/autodocksuite/trunk/debian/manpage.sgml.ex
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/manpage.sgml.ex	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/manpage.sgml.ex	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,156 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+    
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>Juli 23, 2007</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>steffen_moeller at gmx.de</email>">
+  <!ENTITY dhusername  "Steffen Moeller">
+  <!ENTITY dhucpackage "<refentrytitle>AUTODOCKSUITE</refentrytitle>">
+  <!ENTITY dhpackage   "autodocksuite">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+

Added: trunk/packages/autodocksuite/trunk/debian/manpage.xml.ex
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/manpage.xml.ex	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/manpage.xml.ex	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,144 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>Juli 23, 2007</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>steffen_moeller at gmx.de</email>">
+  <!ENTITY dhusername  "Steffen Moeller">
+  <!ENTITY dhucpackage "<refentrytitle>AUTODOCKSUITE</refentrytitle>">
+  <!ENTITY dhpackage   "autodocksuite">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <copyright>
+      <year>2007</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+	  later version published by the Free Software Foundation.
+    </para>
+	<para>
+	  On Debian systems, the complete text of the GNU General Public
+	  License can be found in /usr/share/common-licenses/GPL.
+	</para>
+
+  </refsect1>
+</refentry>
+

Added: trunk/packages/autodocksuite/trunk/debian/menu.ex
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/menu.ex	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/menu.ex	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,2 @@
+?package(autodocksuite):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
+  title="autodocksuite" command="/usr/bin/autodocksuite"

Added: trunk/packages/autodocksuite/trunk/debian/rules
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/rules	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,130 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	for d in autodock autogrid; do \
+	   (cd src/$$d && ./configure CFLAGS="$(CFLAGS) --prefix=/usr") ; \
+	done
+
+	touch configure-stamp
+
+
+#Architecture 
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp 
+	# Add here commands to compile the arch part of the package.
+	for d in src/autodock src/autogrid; do $(MAKE) -C $$d; done
+	touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: configure-stamp 
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp #CONFIGURE-STAMP#
+
+	# Add here commands to clean up after the build process.
+	for d in src/autodock src/autogrid; \
+	do \
+	   if [ -r $$d/Makefile ]; then $(MAKE) -C $$d distclean; fi \
+	done
+	dh_clean configure-stamp
+
+install: install-indep install-arch
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i 
+	dh_installdirs -i
+
+	# Add here commands to install the indep part of the package into
+	# debian/<package>-doc.
+	#INSTALLDOC#
+
+	dh_install -i
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s 
+	dh_installdirs -s
+
+	# Add here commands to install the arch part of the package into 
+	# debian/tmp.
+	#$(MAKE) -C $$d DESTDIR=$(CURDIR)/debian/autodocksuite install
+	for d in autodock autogrid; do \
+		$(MAKE) -C src/$$d DESTDIR=$(CURDIR)/debian/$$d install; \
+	done
+	dh_install -s
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate	
+#	dh_python
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+#	dh_perl
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+#binary-indep
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure


Property changes on: trunk/packages/autodocksuite/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/autodocksuite/trunk/debian/watch
===================================================================
--- trunk/packages/autodocksuite/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/autodocksuite/trunk/debian/watch	2007-07-26 14:21:17 UTC (rev 380)
@@ -0,0 +1,5 @@
+# Example watch control file for uscan
+version=3
+
+http://autodock.scripps.edu/downloads/autodock-registration/tars/dist401/autodocksuite-(.*)-src\.tar\.gz
+




More information about the debian-med-commit mailing list