[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Automake help with libGenome



Hi,

as you might have noticed I try to package

     http://gel.ahabs.wisc.edu/mauve/source/libGenome-1.3.0.tar.gz

I found out that the soname of the library gets the version added twice
and this the resulting package name would be libgenome-1.3-1.3-1.  To
prevent this I applied the following patch

--- libGenome/Makefile.am.orig  2007-01-31 06:39:56.000000000 +0100
+++ libGenome/Makefile.am       2008-02-15 14:15:11.000000000 +0100
@@ -35,9 +35,9 @@

 library_include_HEADERS = $(LIBGENOME_H)

-lib_LTLIBRARIES = libGenome-1.3.la
-libGenome_1_3_la_SOURCES = $(LIBGENOME_SRC)
-libGenome_1_3_la_LDFLAGS= -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE)
+lib_LTLIBRARIES = libGenome.la
+libGenome_la_SOURCES = $(LIBGENOME_SRC)
+libGenome_la_LDFLAGS= -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE)


and runned autoreconf.
On one hand this had the expected result but now the build process does
not add the extension '.so' any more.  I do not really want to hack around
this my just renaming the result because I fear unexpected side effects
and thus I would like to ask for revision by some skilled automake
programmers.  Any idea whyt might went wrong here?

Kind regards

      Andreas Tille.

--
http://fam-tille.de


Reply to: