summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libdbi/libdbi-drivers.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libdbi/libdbi-drivers.inc')
-rw-r--r--meta-oe/recipes-support/libdbi/libdbi-drivers.inc51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libdbi/libdbi-drivers.inc b/meta-oe/recipes-support/libdbi/libdbi-drivers.inc
new file mode 100644
index 000000000..b509532e4
--- /dev/null
+++ b/meta-oe/recipes-support/libdbi/libdbi-drivers.inc
@@ -0,0 +1,51 @@
1# libdbi-drivers OE build file
2# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5DESCRIPTION = "Database Drivers for libdbi"
6HOMEPAGE = "http://libdbi-drivers.sourceforge.net/"
7LICENSE = "LGPLv2.1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
9SECTION = "libs"
10
11PROVIDES = "libdbd-sqlite"
12DEPENDS = "libdbi sqlite sqlite3 mysql5 postgresql"
13
14SRC_URI = "${SOURCEFORGE_MIRROR}/libdbi-drivers/libdbi-drivers-${PV}.tar.gz"
15
16inherit autotools
17
18PACKAGES += "libdbd-sqlite3 libdbd-sqlite libdbd-pgsql libdbd-mysql"
19
20EXTRA_OECONF = "--with-dbi-incdir=${STAGING_INCDIR} \
21 --with-dbi-libdir=${STAGING_LIBDIR} \
22 --with-sqlite \
23 --with-sqlite3 \
24 --with-pgsql \
25 --with-mysql \
26 --with-sqlite-libdir=${STAGING_LIBDIR} \
27 --with-sqlite-incdir=${STAGING_INCDIR} \
28 --with-sqlite3-incdir=${STAGING_INCDIR} \
29 --with-sqlite3-libdir=${STAGING_LIBDIR} \
30 --with-mysql-incdir=${STAGING_INCDIR} \
31 --with-mysql-libdir=${STAGING_LIBDIR} \
32 --with-pgsql-incdir=${STAGING_INCDIR} \
33 --with-pgsql-libdir=${STAGING_LIBDIR} \
34 --disable-docs"
35
36FILES_${PN}-dbg += " ${libdir}/dbd/.debug/*.so"
37FILES_${PN}-dev += " ${libdir}/dbd/*.la"
38FILES_${PN}-staticdev += " ${libdir}/dbd/*.a"
39
40DESCRIPTION_libdbd-sqlite = "SQLite database driver for libdbi"
41FILES_libdbd-sqlite = "${libdir}/dbd/libdbdsqlite.so"
42
43DESCRIPTION_libdbd-sqlite3 = "SQLite3 database driver for libdbi"
44FILES_libdbd-sqlite3 = "${libdir}/dbd/libdbdsqlite3.so"
45
46DESCRIPTION_libdbd-mysql = "MySQL4 database driver for libdbi"
47FILES_libdbd-mysql = "${libdir}/dbd/libdbdmysql.so"
48
49DESCRIPTION_libdbd-psql = "Postgres SQL database driver for libdbi"
50FILES_libdbd-pgsql = "${libdir}/dbd/libdbdpgsql.so"
51