summaryrefslogtreecommitdiff
path: root/recipes/libdbi/libdbi-drivers_0.7.1.bb
blob: eea45ca4bb4634f47c3cf41e1ad25c1bba90f32d (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
# 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 = "GPLv2"
SECTION = "libs"

PROVIDES = "libdbd-sqlite"
DEPENDS = "libdbi sqlite"

SRC_URI = "${SOURCEFORGE_MIRROR}/libdbi-drivers/libdbi-drivers-${PV}.tar.gz"

inherit autotools

PACKAGES = "${PN}-dbg libdbd-sqlite ${PN}"

EXTRA_OECONF = "--with-dbi-incdir=${STAGING_INCDIR} \
                --with-sqlite \
                --with-sqlite-libdir=${STAGING_LIBDIR} \
                --with-sqlite-incdir=${STAGING_INCDIR}"

FILES_libdbd-sqlite = "/usr/lib/dbd/libsqlite.so \
                       /usr/lib/dbd/libsqlite.la \
                       /usr/lib/dbd/libsqlite.a"

DESCRIPTION_libdbd-sqlite = "SQLite database driver for libdbi"

do_configure_old () {
  ./configure \
		    --build=${BUILD_SYS} \
		    --host=${HOST_SYS} \
		    --target=${TARGET_SYS} \
		    --prefix=${prefix} \
		    --with-sqlite \
		    --with-sqlite-libdir=${STAGING_LIBDIR} \
		    --with-sqlite-incdir=${STAGING_INCDIR}
}