summaryrefslogtreecommitdiff
path: root/packages/libdbi/libdbi-drivers_0.7.1.bb
blob: ec2bc9f11e7153b140a99cd9ba05ab50d76d94ee (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
# 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"
MAINTAINER = "Eddy Pronk <epronk@muftor.com>"

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

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

inherit autotools

PACKAGES = "libdbd-sqlite"

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}
}