From 95b859223197846209a76a5d088d1f00aa4ec8b4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 25 Sep 2015 20:39:16 +0100 Subject: Initial commit of libdbpp-sqlite --- dev-libs/libdbpp-sqlite/Manifest | 2 ++ .../libdbpp-sqlite/libdbpp-sqlite-0.9_beta1.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-libs/libdbpp-sqlite/Manifest create mode 100644 dev-libs/libdbpp-sqlite/libdbpp-sqlite-0.9_beta1.ebuild diff --git a/dev-libs/libdbpp-sqlite/Manifest b/dev-libs/libdbpp-sqlite/Manifest new file mode 100644 index 0000000..280a005 --- /dev/null +++ b/dev-libs/libdbpp-sqlite/Manifest @@ -0,0 +1,2 @@ +DIST libdbpp-sqlite-0.9_beta1.tar.bz2 10071 SHA256 d8ab5cf1a01a72e28a9f106e8c75e7dfc6c5b6cef9a976bf76d29c5d982c9aed SHA512 72749018837c817fba770116ca26fa21e929dab9f5329400d3c19aaee3facd2ea765800a05cd9ecf0d4e0621a7b711baa8d9276111d114c104327b6410233222 WHIRLPOOL 77d8c9b2232f454e9fcc1ed09269d688ba87173c20d438db6ef6cce3603b0030f6a1f1387b8625889f1071a75942c8c4583419237fc907a22b52a94051eaf1d9 +EBUILD libdbpp-sqlite-0.9_beta1.ebuild 808 SHA256 38bc85d336ec89e67d8c1408ff15049399634e382cd252697820528cae596d55 SHA512 1ffac6b31ad0fcb03459ce60898d1b4f82f1a40a97103330d1e3ce8b87b142ef133cf4492ef4908d02c7f8799585a34ce238a6b0cbdbdc6fa43507c0710a9d66 WHIRLPOOL dc27a7562769b6f58681ae9af2e3aa4125e619873d1b49bf2696e3275dc9dcd381f225c88193d3f88d93200b48460772048fdc096e6b1c6e8099299a7d97c968 diff --git a/dev-libs/libdbpp-sqlite/libdbpp-sqlite-0.9_beta1.ebuild b/dev-libs/libdbpp-sqlite/libdbpp-sqlite-0.9_beta1.ebuild new file mode 100644 index 0000000..70cd009 --- /dev/null +++ b/dev-libs/libdbpp-sqlite/libdbpp-sqlite-0.9_beta1.ebuild @@ -0,0 +1,37 @@ +EAPI="5" + +DESCRIPTION="C++ database connectivity SQLite components" +HOMEPAGE="http://libdbpp.randomdan.homeip.net/sqlite" + +SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" + +RDEPEND=" + dev-libs/boost + dev-libs/libdbpp + dev-libs/libadhocutil +" +DEPEND=" + ${RDEPEND} + dev-util/boost-build +" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : \"${CXXFLAGS}\" \"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +src_compile() { + cd ${S}/libsqlitepp || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release dbpp-sqlite -q || die +} + +src_install() { + cd ${S}/libsqlitepp || die + + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q \ + --libdir=${D}/usr/lib \ + --includedir=${D}/usr/include/dbpp-sqlite || die +} + -- cgit v1.2.3