All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/4] soci: Add recipe
Date: Mon, 02 Mar 2015 11:28:56 +0100	[thread overview]
Message-ID: <md1e18$243$1@ger.gmane.org> (raw)
In-Reply-To: <1425248708-4076-1-git-send-email-raj.khem@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Khem Raj schreef op 01-03-15 om 23:25:
> Define PACKAGECONFIG to enable a given backend of choice by default its
> 'empty'
> 
> Change-Id: Ie1123af658ca94d2fe22a3ca1a32dfb47d58979e Signed-off-by: Khem
> Raj <raj.khem@gmail.com> --- meta-oe/recipes-support/soci/soci_3.2.2.bb |
> 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create
> mode 100644 meta-oe/recipes-support/soci/soci_3.2.2.bb
> 
> diff --git a/meta-oe/recipes-support/soci/soci_3.2.2.bb
> b/meta-oe/recipes-support/soci/soci_3.2.2.bb new file mode 100644 index
> 0000000..1c333cb --- /dev/null +++
> b/meta-oe/recipes-support/soci/soci_3.2.2.bb @@ -0,0 +1,46 @@ +#
> Copyright (C) 2015 Khem Raj <raj.khem@gmail.com> +# Released under the
> MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "The C++
> Database Access Library" +HOMEPAGE = "http://soci.sourceforge.net" 
> +LICENSE = "BSL-1.0" +SECTION = "libs" +DEPENDS = "boost" + 
> +LIC_FILES_CHKSUM =
> "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"

Please group this with the lICENSE field

> + +SRC_URI =
> "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${P}/${P}.tar.gz" 
> +SRC_URI[md5sum] = "bc3c35f6cd3f80a1be19fe30b3c111bf" +SRC_URI[sha256sum]
> = "30ea2f4d26639ef5b5cdc24fb300b3896746243dbb77b743582de2ff443ccb1c" + 
> +TESTCONFIG = '-DSOCI_TEST_EMPTY_CONNSTR="dummy"
> -DSOCI_TEST_SQLITE3_CONNSTR="test.db" \ +
> -DSOCI_TEST_POSTGRESQL_CONNSTR:STRING="dbname=soci_test" \ +
> -DSOCI_TEST_MYSQL_CONNSTR:STRING="db=soci_test user=oe password=oe"' + 
> +OBASEDIR ?= "/opt/oracle" +OINCDIR = "rdbms/public" +OLIBDIR = "lib" + 
> +PACKAGECONFIG[sqlite3] =
> "-DSOCI_SQLITE3=ON,-DSOCI_SQLITE3=OFF,sqlite3," +PACKAGECONFIG[mysql] =
> "-DSOCI_MYSQL=ON,-DSOCI_MYSQL=OFF,mariadb," +PACKAGECONFIG[postgresql] =
> "-DSOCI_POSTGRESQL=ON,-DSOCI_POSTGRESQL=OFF,postgresql," 
> +PACKAGECONFIG[odbc] = "-DSOCI_ODBC=ON,-DSOCI_ODBC=OFF,," 
> +PACKAGECONFIG[empty] = "-DSOCI_EMPTY=ON,-DSOCI_EMPTY=OFF,," 
> +PACKAGECONFIG[oracle] = "-DWITH_ORACLE=ON
> --with-oracle-include=${OINCDIR}
> --with-oracle-lib=${OLIBDIR},-DWITH_ORACLE=OFF,," +PACKAGECONFIG[ptest] =
> "${TESTCONFIG},,," + +# enable your backend by default we enable 'empty' 
> +PACKAGECONFIG ??= "empty" + +# Take the flags added by PACKAGECONFIG and
> pass them to cmake. +EXTRA_OECMAKE = "${EXTRA_OECONF}" + +inherit cmake 
> + +PACKAGES += "${PN}-sqlite3 ${PN}-mysql ${PN}-postgresql ${PN}-odbc
> ${PN}-oracle" + +FILES_${PN}-sqlite3 =
> "${libdir}/lib${BPN}_sqlite3.so.*" +FILES_${PN}-mysql =
> "${libdir}/lib${BPN}_mysql.so.*" +FILES_${PN}-postgresql =
> "${libdir}/lib${BPN}_postgresql.so.*" +FILES_${PN}-odbc =
> "${libdir}/lib${BPN}_odbc.so.*" +FILES_${PN}-oracle =
> "${libdir}/lib${BPN}_oracle.so.*"
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFU9DtoMkyGM64RGpERAtcGAJ0dzZ17XwT7UJyHij29TcbpTM1wlQCfTebl
d2QKkc75bG2LTXTDp5pXVM0=
=cKrw
-----END PGP SIGNATURE-----



      parent reply	other threads:[~2015-03-02 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 22:25 [PATCH 1/4] soci: Add recipe Khem Raj
2015-03-01 22:25 ` [PATCH 2/4] collectd: Backport fix build with newer gcc Khem Raj
2015-03-01 22:25 ` [PATCH 3/4] v4l-utils: RPROVIDE media-ctl Khem Raj
2015-03-01 22:25 ` [PATCH 4/4] lirc: Add recipe for 0.9.2 Khem Raj
2015-03-02  7:59 ` [PATCH 1/4] soci: Add recipe Martin Jansa
2015-03-02 10:28 ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='md1e18$243$1@ger.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.