diff options
-rw-r--r-- | conf/checksums.ini | 4 | ||||
-rw-r--r-- | recipes/libdbi/libdbi-drivers.inc | 47 | ||||
-rw-r--r-- | recipes/libdbi/libdbi-drivers_0.7.1.bb | 40 | ||||
-rw-r--r-- | recipes/libdbi/libdbi-drivers_0.8.3-1.bb | 2 |
4 files changed, 53 insertions, 40 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini index 1f11dfcced..55d50a8c90 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -13066,6 +13066,10 @@ sha256=5ae76aff042249750437ab7e490ae7d9e19a10f0005cd9bb525106365998aca8 md5=f11020119ceb7a6dee3969cb0589d4bc sha256=5ae76aff042249750437ab7e490ae7d9e19a10f0005cd9bb525106365998aca8 +[http://downloads.sourceforge.net/libdbi-drivers/libdbi-drivers-0.8.3-1.tar.gz] +md5=4de79b323162a5a7652b65b608eca6cd +sha256=4ab9944398ce769c0deeb64d2f73555c67bc25ccd2ade1ccf552226c7b2acf72 + [http://nchipin.kos.to/libddmpeg/libddmpeg_1.5.orig.tar.gz] md5=89e59638d31384987d912741986398b6 sha256=9422e73c55aa921fbbce06e5e01bba0b98bb7a0f1640c27cfd307c290dba792c diff --git a/recipes/libdbi/libdbi-drivers.inc b/recipes/libdbi/libdbi-drivers.inc new file mode 100644 index 0000000000..b5875eb893 --- /dev/null +++ b/recipes/libdbi/libdbi-drivers.inc @@ -0,0 +1,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" + diff --git a/recipes/libdbi/libdbi-drivers_0.7.1.bb b/recipes/libdbi/libdbi-drivers_0.7.1.bb deleted file mode 100644 index eea45ca4bb..0000000000 --- a/recipes/libdbi/libdbi-drivers_0.7.1.bb +++ /dev/null @@ -1,40 +0,0 @@ -# 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} -} - diff --git a/recipes/libdbi/libdbi-drivers_0.8.3-1.bb b/recipes/libdbi/libdbi-drivers_0.8.3-1.bb new file mode 100644 index 0000000000..efbc61f5c0 --- /dev/null +++ b/recipes/libdbi/libdbi-drivers_0.8.3-1.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +LICENSE = "LGPL" |