blob: b5875eb893c89af460c2415c7b680bf806443fdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# libdbi-drivers OE build file
# Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
DESCRIPTION = "Database Drivers for libdbi"
HOMEPAGE = "http://libdbi-drivers.sourceforge.net/"
LICENSE = "LGPL"
SECTION = "libs"
PROVIDES = "libdbd-sqlite"
DEPENDS = "libdbi sqlite sqlite3 mysql postgresql"
SRC_URI = "${SOURCEFORGE_MIRROR}/libdbi-drivers/libdbi-drivers-${PV}.tar.gz"
inherit autotools
PACKAGES += "libdbd-sqlite3 libdbd-sqlite libdbd-pgsql libdbd-mysql"
EXTRA_OECONF = "--with-dbi-incdir=${STAGING_INCDIR} \
--with-sqlite \
--with-sqlite3 \
--with-pgsql \
--with-mysql \
--with-sqlite-libdir=${STAGING_LIBDIR} \
--with-sqlite-incdir=${STAGING_INCDIR} \
--with-sqlite3-incdir=${STAGING_INCDIR} \
--with-sqlite3-libdir=${STAGING_LIBDIR} \
--with-mysql-incdir=${STAGING_INCDIR} \
--with-mysql-libdir=${STAGING_LIBDIR} \
--with-pgsql-incdir=${STAGING_INCDIR} \
--with-pgsql-libdir=${STAGING_LIBDIR}"
FILES_${PN}-dbg += " ${libdir}/dbd/.debug/*.so"
FILES_${PN}-dev += " ${libdir}/dbd/*.la ${libdir}/dbd/*.a"
DESCRIPTION_libdbd-sqlite = "SQLite database driver for libdbi"
FILES_libdbd-sqlite = "${libdir}/dbd/libdbdsqlite.so"
DESCRIPTION_libdbd-sqlite3 = "SQLite3 database driver for libdbi"
FILES_libdbd-sqlite3 = "${libdir}/dbd/libdbdsqlite3.so"
DESCRIPTION_libdbd-mysql = "MySQL4 database driver for libdbi"
FILES_libdbd-mysql = "${libdir}/dbd/libdbdmysql.so"
DESCRIPTION_libdbd-psql = "Postgres SQL database driver for libdbi"
FILES_libdbd-pgsql = "${libdir}/dbd/libdbdpgsql.so"
|