update libpassthrough
[opendreambox.git] / meta-opendreambox / recipes-support / kompex / kompex-sqlite-wrapper / add_automake.patch
1 diff -Naur KompexSQLiteWrapper-Source_1.7.8.org/configure.ac KompexSQLiteWrapper-Source_1.7.8/configure.ac
2 --- KompexSQLiteWrapper-Source_1.7.8.org/configure.ac   1970-01-01 01:00:00.000000000 +0100
3 +++ KompexSQLiteWrapper-Source_1.7.8/configure.ac       2011-10-18 22:31:30.852073545 +0200
4 @@ -0,0 +1,38 @@
5 +#                                               -*- Autoconf -*-
6 +# Process this file with autoconf to produce a configure script.
7 +AC_INIT([libKompexSQLiteWrapper],[1.7.8],[SvenBroeske@web.de],[libKompexSQLiteWrapper])
8 +AM_INIT_AUTOMAKE([dist-bzip2 no-define foreign])
9 +AC_CONFIG_SRCDIR([src/KompexSQLiteDatabase.cpp])
10 +AC_CONFIG_HEADERS([libKompexSQLiteWrapper-config.h])
11 +
12 +# Silent rules are available since 1.11, but older versions
13 +# are still in use. So don't use them unconditionally.
14 +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
15 +
16 +# Checks for programs.
17 +AC_PROG_CXX
18 +
19 +m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
20 +
21 +dnl - If any interfaces have been added, removed, or changed since the last
22 +dnl   update, increment current, and set revision to 0.
23 +LT_CURRENT=1
24 +AC_SUBST([LT_CURRENT])
25 +dnl - If the library source code has changed at all since the last update,
26 +dnl   then increment revision (c:r:a becomes c:r+1:a).
27 +LT_REVISION=0
28 +AC_SUBST([LT_REVISION])
29 +dnl - If any interfaces have been added since the last public release, then
30 +dnl   increment age.
31 +dnl - If any interfaces have been removed since the last public release, then
32 +dnl   set age to 0.
33 +LT_AGE=0
34 +AC_SUBST([LT_AGE])
35 +
36 +AC_CONFIG_FILES([
37 +Makefile
38 +inc/Makefile
39 +src/Makefile
40 +libKompexSQLiteWrapper.pc
41 +])
42 +AC_OUTPUT
43 diff -Naur KompexSQLiteWrapper-Source_1.7.8.org/inc/Makefile.am KompexSQLiteWrapper-Source_1.7.8/inc/Makefile.am
44 --- KompexSQLiteWrapper-Source_1.7.8.org/inc/Makefile.am        1970-01-01 01:00:00.000000000 +0100
45 +++ KompexSQLiteWrapper-Source_1.7.8/inc/Makefile.am    2011-10-18 22:35:41.044070801 +0200
46 @@ -0,0 +1,8 @@
47 +pkgincludedir = ${includedir}
48 +pkginclude_HEADERS = \
49 +       KompexSQLiteBlob.h \
50 +       KompexSQLiteDatabase.h \
51 +       KompexSQLiteException.h \
52 +       KompexSQLitePrerequisites.h \
53 +       KompexSQLiteStatement.h \
54 +       KompexSQLiteStreamRedirection.h
55 diff -Naur KompexSQLiteWrapper-Source_1.7.8.org/libKompexSQLiteWrapper.pc.in KompexSQLiteWrapper-Source_1.7.8/libKompexSQLiteWrapper.pc.in
56 --- KompexSQLiteWrapper-Source_1.7.8.org/libKompexSQLiteWrapper.pc.in   1970-01-01 01:00:00.000000000 +0100
57 +++ KompexSQLiteWrapper-Source_1.7.8/libKompexSQLiteWrapper.pc.in       2011-10-18 22:40:51.356067402 +0200
58 @@ -0,0 +1,10 @@
59 +prefix=@prefix@
60 +exec_prefix=@exec_prefix@
61 +libdir=@libdir@
62 +includedir=@includedir@
63 +
64 +Name: libKompexSQLiteWrapper
65 +Description: A SQLite3 C++ Wrapper Library
66 +Version: @VERSION@
67 +Libs: -L${libdir} -lKompexSQLiteWrapper
68 +Cflags: -I${includedir}
69 diff -Naur KompexSQLiteWrapper-Source_1.7.8.org/Makefile.am KompexSQLiteWrapper-Source_1.7.8/Makefile.am
70 --- KompexSQLiteWrapper-Source_1.7.8.org/Makefile.am    1970-01-01 01:00:00.000000000 +0100
71 +++ KompexSQLiteWrapper-Source_1.7.8/Makefile.am        2011-10-18 22:38:31.204068947 +0200
72 @@ -0,0 +1,4 @@
73 +SUBDIRS = inc src
74 +
75 +pkgconfigdir = $(libdir)/pkgconfig
76 +pkgconfig_DATA = libKompexSQLiteWrapper.pc
77 diff -Naur KompexSQLiteWrapper-Source_1.7.8.org/src/Makefile.am KompexSQLiteWrapper-Source_1.7.8/src/Makefile.am
78 --- KompexSQLiteWrapper-Source_1.7.8.org/src/Makefile.am        1970-01-01 01:00:00.000000000 +0100
79 +++ KompexSQLiteWrapper-Source_1.7.8/src/Makefile.am    2011-10-18 22:37:20.692069711 +0200
80 @@ -0,0 +1,7 @@
81 +AM_CPPFLAGS = -I$(top_srcdir)/inc -include $(top_builddir)/libKompexSQLiteWrapper-config.h
82 +lib_LTLIBRARIES = libKompexSQLiteWrapper.la
83 +libKompexSQLiteWrapper_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
84 +libKompexSQLiteWrapper_la_SOURCES = \
85 +       KompexSQLiteBlob.cpp \
86 +       KompexSQLiteDatabase.cpp \
87 +       KompexSQLiteStatement.cpp