[med-svn] r11599 - in trunk/packages/genometools: . trunk trunk/debian trunk/debian/patches trunk/debian/source
Sascha Steinbiss
sascha-guest at alioth.debian.org
Fri Jul 6 14:54:49 UTC 2012
Author: sascha-guest
Date: 2012-07-06 14:54:49 +0000 (Fri, 06 Jul 2012)
New Revision: 11599
Added:
trunk/packages/genometools/trunk/
trunk/packages/genometools/trunk/debian/
trunk/packages/genometools/trunk/debian/changelog
trunk/packages/genometools/trunk/debian/compat
trunk/packages/genometools/trunk/debian/control
trunk/packages/genometools/trunk/debian/copyright
trunk/packages/genometools/trunk/debian/genometools-common.install
trunk/packages/genometools/trunk/debian/genometools-doc.docs
trunk/packages/genometools/trunk/debian/genometools.docs
trunk/packages/genometools/trunk/debian/genometools.install
trunk/packages/genometools/trunk/debian/libgenometools0-dev.install
trunk/packages/genometools/trunk/debian/libgenometools0.install
trunk/packages/genometools/trunk/debian/libgenometools0.links
trunk/packages/genometools/trunk/debian/libgenometools0.postinst
trunk/packages/genometools/trunk/debian/libgenometools0.postrm
trunk/packages/genometools/trunk/debian/patches/
trunk/packages/genometools/trunk/debian/patches/adding_soname
trunk/packages/genometools/trunk/debian/patches/adding_soname.patch
trunk/packages/genometools/trunk/debian/patches/series
trunk/packages/genometools/trunk/debian/rules
trunk/packages/genometools/trunk/debian/source/
trunk/packages/genometools/trunk/debian/source/format
trunk/packages/genometools/trunk/debian/watch
Log:
initial upload of GenomeTools as started at Debian Med Sprint
Property changes on: trunk/packages/genometools/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: trunk/packages/genometools/trunk/debian/changelog
===================================================================
--- trunk/packages/genometools/trunk/debian/changelog (rev 0)
+++ trunk/packages/genometools/trunk/debian/changelog 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,5 @@
+genometools (1.4.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #657923)
+
+ -- Sascha Steinbiss <steinbiss at zbh.uni-hamburg.de> Fri, 27 Jan 2012 18:51:44 +0100
Added: trunk/packages/genometools/trunk/debian/compat
===================================================================
--- trunk/packages/genometools/trunk/debian/compat (rev 0)
+++ trunk/packages/genometools/trunk/debian/compat 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+7
Added: trunk/packages/genometools/trunk/debian/control
===================================================================
--- trunk/packages/genometools/trunk/debian/control (rev 0)
+++ trunk/packages/genometools/trunk/debian/control 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,64 @@
+Source: genometools
+Section: science
+Priority: extra
+Maintainer: Sascha Steinbiss <steinbiss at zbh.uni-hamburg.de>
+Build-Depends: debhelper (>= 7.0.50~), quilt, liblua5.1-0-dev, liblua5.1-lpeg-dev, liblua5.1-md5-dev, liblua5.1-filesystem-dev, libcairo2-dev, zlib1g-dev, libbz2-dev, libexpat1-dev, libpth-dev, libncurses5-dev
+Standards-Version: 3.9.3
+Homepage: http://genometools.org
+Vcs-Browser: http://svn.debian.org/viewvc/debian-med/trunk/packages/genometools/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/genometools/trunk/
+
+Package: genometools
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, genometools-common
+Description: versatile genome analysis toolkit
+ The GenomeTools contains a collection of useful tools for bioinformatics,
+ combined into a single binary.
+ .
+ The toolkit contains binaries for sequence and annotation handling,
+ index structure generation and access, efficient matching, annotation
+ visualization and much more.
+
+Package: genometools-common
+Architecture: all
+Depends: ${misc:Depends}, libbam-dev, liblua5.1-md5-0, liblua5.1-0, liblua5.1-lpeg2, liblua5.1-filesystem0, libcairo2, zlib1g, libbz2-1.0, libexpat1, libpth20, libncurses5
+Description: shared data files for GenomeTools
+ This package contains configuration files such as
+ alphabet transformations, style files, etc. required to use the
+ GenomeTools executable and/or library.
+
+Package: libgenometools0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, genometools-common
+Description: versatile genome analysis library
+ This package contains the GenomeTools shared library and header
+ files. It offers efficient sequence analysis components, available
+ via an object-oriented interface, and a collection of useful tools for
+ bioinformatics, combined into a single binary.
+ .
+ The library contains components for sequence and annotation handling,
+ index structure generation and access, efficient matching, annotation
+ visualization and much more.
+
+Package: libgenometools0-dev
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libgenometools0 (= ${binary:Version})
+Section: libdevel
+Description: development files for GenomeTools
+ This package contains the GenomeTools static libraries and necessary
+ header files.
+
+Package: genometools-doc
+Architecture: all
+Depends: ${misc:Depends}
+Section: doc
+Description: documentation for GenomeTools
+ This package contains API documentation and tool documentation for
+ GenomeTools.
+
+Package: genometools-dbg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, genometools-common
+Section: debug
+Description: versatile genome analysis toolkit, with debug symbols
+ This package contains GenomeTools binaries with debug symbols.
Added: trunk/packages/genometools/trunk/debian/copyright
===================================================================
--- trunk/packages/genometools/trunk/debian/copyright (rev 0)
+++ trunk/packages/genometools/trunk/debian/copyright 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,137 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: genometools
+Source: http://genometools.org
+
+Files:
+ *
+Copyright:
+ 2001-2012 Stefan Kurtz
+ 2003-2012 Gordon Gremme
+ 2007-2012 Sascha Steinbiss
+ 2004-2012 Stefan Bienert
+ 2007 David Ellinghaus
+ 2009-2012 Giorgio Gonnella
+ 2007-2008 Thomas Jahns
+ 2007 Malte Mader
+ 2009 Brent Pedersen
+ 2007 Christin Schaerfer
+ 2007 David Schmitz-Huebsch
+ 2010-2012 Dirk Willrodt
+License:
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERqFORMANCE OF THIS SOFTWARE.
+
+Files:
+ src/core/yarandom.*
+Copyright:
+ 1997,1998,2003 Jamie Zawinski
+License:
+ Permission to use, copy, modify, distribute, and sell this software and its
+ documentation for any purpose is hereby granted without fee, provided that
+ the above copyright notice appear in all copies and that both that
+ copyright notice and this permission notice appear in supporting
+ documentation. No representations are made about the suitability of this
+ software for any purpose. It is provided "as is" without express or
+ implied warranty.
+
+Files:
+ src/external/libtecla-1.6.1/*
+Copyright:
+ 2000, 2001, 2002, 2003, 2004 Martin C. Shepherd.
+License:
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, and/or sell copies of the Software, and to permit persons
+ to whom the Software is furnished to do so, provided that the above
+ copyright notice(s) and this permission notice appear in all copies of
+ the Software and that both the above copyright notice(s) and this
+ permission notice appear in supporting documentation.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+ OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+ HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+ INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+ Except as contained in this notice, the name of a copyright holder
+ shall not be used in advertising or otherwise to promote the sale, use
+ or other dealings in this Software without prior written authorization
+ of the copyright holder.
+
+Files:
+ src/core/msort.[ch]
+Copyright:
+ 1992, 1993 The Regents of the University of California
+ This code is derived from software contributed
+ to Berkeley by Peter McIlroy.
+License:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+Files:
+ src/extended/rbtree.[ch]
+Copyright:
+ Copyright (c) 2009 Charles Wilson
+
+License:
+ Derived from code released into the public domain by Julienne Walker:
+ http://eternallyconfuzzled.com/tuts/datastructures/jsw_tut_rbtree.aspx
+ > Created (Julienne Walker): August 23, 2003
+ > Modified (Julienne Walker): March 14, 2008
+
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
Added: trunk/packages/genometools/trunk/debian/genometools-common.install
===================================================================
--- trunk/packages/genometools/trunk/debian/genometools-common.install (rev 0)
+++ trunk/packages/genometools/trunk/debian/genometools-common.install 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,3 @@
+usr/bin/gtdata usr/share/genometools/
+
+
Added: trunk/packages/genometools/trunk/debian/genometools-doc.docs
===================================================================
--- trunk/packages/genometools/trunk/debian/genometools-doc.docs (rev 0)
+++ trunk/packages/genometools/trunk/debian/genometools-doc.docs 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+doc/*
Added: trunk/packages/genometools/trunk/debian/genometools.docs
===================================================================
--- trunk/packages/genometools/trunk/debian/genometools.docs (rev 0)
+++ trunk/packages/genometools/trunk/debian/genometools.docs 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,3 @@
+README
+CONTRIBUTORS
+VERSION
Added: trunk/packages/genometools/trunk/debian/genometools.install
===================================================================
--- trunk/packages/genometools/trunk/debian/genometools.install (rev 0)
+++ trunk/packages/genometools/trunk/debian/genometools.install 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,3 @@
+usr/bin/gt
+usr/bin/gt
+
Added: trunk/packages/genometools/trunk/debian/libgenometools0-dev.install
===================================================================
--- trunk/packages/genometools/trunk/debian/libgenometools0-dev.install (rev 0)
+++ trunk/packages/genometools/trunk/debian/libgenometools0-dev.install 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,2 @@
+usr/include
+lib/libgenometools.a usr/lib
Added: trunk/packages/genometools/trunk/debian/libgenometools0.install
===================================================================
--- trunk/packages/genometools/trunk/debian/libgenometools0.install (rev 0)
+++ trunk/packages/genometools/trunk/debian/libgenometools0.install 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+lib/libgenometools.so.0 usr/lib
Added: trunk/packages/genometools/trunk/debian/libgenometools0.links
===================================================================
--- trunk/packages/genometools/trunk/debian/libgenometools0.links (rev 0)
+++ trunk/packages/genometools/trunk/debian/libgenometools0.links 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+usr/lib/libgenometools.so.0 usr/lib/libgenometools.so
Added: trunk/packages/genometools/trunk/debian/libgenometools0.postinst
===================================================================
--- trunk/packages/genometools/trunk/debian/libgenometools0.postinst (rev 0)
+++ trunk/packages/genometools/trunk/debian/libgenometools0.postinst 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ ldconfig
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Added: trunk/packages/genometools/trunk/debian/libgenometools0.postrm
===================================================================
--- trunk/packages/genometools/trunk/debian/libgenometools0.postrm (rev 0)
+++ trunk/packages/genometools/trunk/debian/libgenometools0.postrm 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,38 @@
+#!/bin/sh
+# postrm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ remove)
+ ldconfig
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Added: trunk/packages/genometools/trunk/debian/patches/adding_soname
===================================================================
--- trunk/packages/genometools/trunk/debian/patches/adding_soname (rev 0)
+++ trunk/packages/genometools/trunk/debian/patches/adding_soname 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,42 @@
+Index: genometools-1.4.0/Makefile
+===================================================================
+--- genometools-1.4.0.orig/Makefile 2012-03-26 16:46:06.000000000 +0200
++++ genometools-1.4.0/Makefile 2012-03-26 16:47:21.000000000 +0200
+@@ -78,6 +78,7 @@
+ SHARED_OBJ_NAME_EXT:=.so
+ SHARED:=-shared
+ endif
++SONAME_VERSION:=.0
+
+ # libraries for which we build replacements (that also appear in dependencies)
+ OVERRIDELIBS:=-lbz2 -lz
+@@ -233,7 +234,7 @@
+
+ # add necessary shared lib dependencies then not building them ourselves
+ ifeq ($(useshared),yes)
+- DEPLIBS:=-lbz2 -lz -lexpat -llua5.1-lpeg -llua5.1 -llua5.1-md5 \
++ DEPLIBS:=-lm -lbz2 -lz -lexpat -llua5.1-lpeg -llua5.1 -llua5.1-md5 \
+ -llua5.1-filesystem -llua5.1-des56 -lbam
+ EXP_LDLIBS += $(DEPLIBS)
+ GTSHAREDLIB_LIBDEP += $(DEPLIBS)
+@@ -573,8 +574,8 @@
+ $(ADDITIONAL_SO_DEPS)
+ @echo "[link $(@F)]"
+ @test -d $(@D) || mkdir -p $(@D)
+- @$(CC) $(EXP_LDFLAGS) $(GT_LDFLAGS) $(SHARED) $(LIBGENOMETOOLS_OBJ) \
+- -o $@ $(GTSHAREDLIB_LIBDEP)
++ @$(CC) $(EXP_LDFLAGS) $(GT_LDFLAGS) $(SHARED) -Wl,-soname,$(notdir $@) $(LIBGENOMETOOLS_OBJ) \
++ -o $@$(SONAME_VERSION) $(GTSHAREDLIB_LIBDEP)
+
+ lib/libtecla.a: $(LIBTECLA_OBJ)
+ @echo "[link $(@F)]"
+@@ -918,7 +919,8 @@
+ ifdef RANLIB
+ $(RANLIB) $(prefix)/lib/libgenometools.a
+ endif
+- cp lib/libgenometools$(SHARED_OBJ_NAME_EXT) $(prefix)/lib
++ cp lib/libgenometools$(SHARED_OBJ_NAME_EXT)$(SONAME_VERSION) $(prefix)/lib
++ ln -fs $(prefix)/lib/$(SHARED_OBJ_NAME_EXT)$(SONAME_VERSION) $(prefix)/lib/$(SHARED_OBJ_NAME_EXT)
+ @echo '[build config script $(@F)]'
+ sed -e 's!@CC@!$(CC)!' -e 's!@CFLAGS@!$(EXP_CFLAGS)!' \
+ -e 's!@CPPFLAGS@!$(subst ",\\",-I"$(prefix)/include" $(EXP_CPPFLAGS))!' \
Added: trunk/packages/genometools/trunk/debian/patches/adding_soname.patch
===================================================================
--- trunk/packages/genometools/trunk/debian/patches/adding_soname.patch (rev 0)
+++ trunk/packages/genometools/trunk/debian/patches/adding_soname.patch 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,42 @@
+Index: genometools-1.3.9/Makefile
+===================================================================
+--- genometools-1.3.9.orig/Makefile 2012-01-30 00:13:54.238911009 +0100
++++ genometools-1.3.9/Makefile 2012-01-30 00:12:33.530510798 +0100
+@@ -79,6 +79,7 @@
+ SHARED_OBJ_NAME_EXT:=.so
+ SHARED:=-shared
+ endif
++SONAME_VERSION:=.0
+
+ # libraries for which we build replacements (that also appear in dependencies)
+ EXP_LDLIBS+=-lz -lbz2
+@@ -228,7 +229,7 @@
+
+ # add necessary shared lib dependencies then not building them ourselves
+ ifeq ($(useshared),yes)
+- DEPLIBS:=-lbz2 -lz -lexpat -llua5.1-lpeg -llua5.1 -llua5.1-md5 -llua5.1-filesystem -llua5.1-des56
++ DEPLIBS:=-lm -lbz2 -lz -lexpat -llua5.1-lpeg -llua5.1 -llua5.1-md5 -llua5.1-filesystem -llua5.1-des56
+ EXP_LDLIBS += $(DEPLIBS)
+ GTSHAREDLIB_LIBDEP += $(DEPLIBS)
+ endif
+@@ -501,8 +502,8 @@
+ $(ADDITIONAL_SO_DEPS)
+ @echo "[link $(@F)]"
+ @test -d $(@D) || mkdir -p $(@D)
+- @$(CC) $(EXP_LDFLAGS) $(GT_LDFLAGS) $(SHARED) $(LIBGENOMETOOLS_OBJ) \
+- -o $@ $(GTSHAREDLIB_LIBDEP)
++ @$(CC) $(EXP_LDFLAGS) $(GT_LDFLAGS) $(SHARED) -Wl,-soname,$(notdir $@)$(SONAME_VERSION) $(LIBGENOMETOOLS_OBJ) \
++ -o $@$(SONAME_VERSION) $(GTSHAREDLIB_LIBDEP)
+
+ lib/libtecla.a: $(LIBTECLA_OBJ)
+ @echo "[link $(@F)]"
+@@ -838,7 +839,8 @@
+ ifdef RANLIB
+ $(RANLIB) $(prefix)/lib/libgenometools.a
+ endif
+- cp lib/libgenometools$(SHARED_OBJ_NAME_EXT) $(prefix)/lib
++ cp lib/libgenometools$(SHARED_OBJ_NAME_EXT)$(SONAME_VERSION) $(prefix)/lib
++ ln -fs $(prefix)/lib/$(SHARED_OBJ_NAME_EXT)$(SONAME_VERSION) $(prefix)/lib/$(SHARED_OBJ_NAME_EXT)
+ @echo '[build config script $(@F)]'
+ sed -e 's!@CC@!$(CC)!' -e 's!@CFLAGS@!$(EXP_CFLAGS)!' \
+ -e 's!@CPPFLAGS@!$(subst ",\\",-I"$(prefix)/include" $(EXP_CPPFLAGS))!' \
Added: trunk/packages/genometools/trunk/debian/patches/series
===================================================================
--- trunk/packages/genometools/trunk/debian/patches/series (rev 0)
+++ trunk/packages/genometools/trunk/debian/patches/series 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+adding_soname
Added: trunk/packages/genometools/trunk/debian/rules
===================================================================
--- trunk/packages/genometools/trunk/debian/rules (rev 0)
+++ trunk/packages/genometools/trunk/debian/rules 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+export DESTDIR=$(CURDIR)/debian/tmp
+
+BITS:=$(shell dpkg-architecture | grep DEB_BUILD_ARCH_BITS | cut -f 2 -d'=')
+ifeq ($(BITS),64)
+ 64BIT:=yes
+else
+ 54BIT:=no
+endif
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ $(MAKE) cleanup
+
+override_dh_auto_build:
+ echo $(DEB_BUILD_ARCH_BITS)
+ dh_auto_build -- useshared=yes 64bit=$(64BIT)
+
+override_dh_auto_test:
+ #dh_auto_test -- useshared=yes 64bit=$(64BIT) testthreads=5
+
+override_dh_auto_install:
+ dh_auto_install -- useshared=yes 64bit=$(64BIT) prefix=$(DESTDIR)/usr
+
+override_dh_strip:
+ dh_strip --dbg-package=genometools-dbg
+
+override_dh_installdocs:
+ dh_installdocs --exclude=license.template
Property changes on: trunk/packages/genometools/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/genometools/trunk/debian/source/format
===================================================================
--- trunk/packages/genometools/trunk/debian/source/format (rev 0)
+++ trunk/packages/genometools/trunk/debian/source/format 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: trunk/packages/genometools/trunk/debian/watch
===================================================================
--- trunk/packages/genometools/trunk/debian/watch (rev 0)
+++ trunk/packages/genometools/trunk/debian/watch 2012-07-06 14:54:49 UTC (rev 11599)
@@ -0,0 +1,2 @@
+version=3
+http://genometools.org/pub/genometools-([0-9.]+)\.tar\.gz
More information about the debian-med-commit
mailing list