From 40a6bc1d0933a8255c332f180848549899fdce61 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Thu, 31 Dec 2015 05:40:20 +0000
Subject: Big update with v1.0 series libdbpp

---
 dev-libs/libdbpp-odbc/Manifest                  |  2 ++
 dev-libs/libdbpp-odbc/libdbpp-odbc-1.0.0.ebuild | 38 +++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 dev-libs/libdbpp-odbc/libdbpp-odbc-1.0.0.ebuild

(limited to 'dev-libs/libdbpp-odbc')

diff --git a/dev-libs/libdbpp-odbc/Manifest b/dev-libs/libdbpp-odbc/Manifest
index 094f55e..e5b6233 100644
--- a/dev-libs/libdbpp-odbc/Manifest
+++ b/dev-libs/libdbpp-odbc/Manifest
@@ -1,2 +1,4 @@
 DIST libdbpp-odbc-0.9.tar.bz2 32064 SHA256 ee920e4c15f037dc9828e1895d485c493a2f50d39a9b9a58ae05912984a14cef SHA512 d3b71dd86f091ba621d5834273dc3814557bda5b9c34e6b76020ad4df36b0d8d445d6b48c5eb5d1c0e44d75ed8a90004764506a42c46ee5a8737246b9b846695 WHIRLPOOL 92f2cc221131905680a0afef31b2c4cf47f33fc1f2571a366b035b721fa8a5265ea01338a540feffb84f008d4ac2ed0927681923a0cb60684908280f0d86fcba
+DIST libdbpp-odbc-1.0.0.tar.bz2 31252 SHA256 c9259d806bec6f9405c78d7c2dbf9f8c0ddee094506e576a9530bb9b6499b767 SHA512 2a7836187742c08a318af0cb4028a9bd7d9655bb1c9402fa4ea6573cb45587e24c09c742e2760e0af4eb4f39747122aa33653e6827e1961038e526eb13b037eb WHIRLPOOL f38c013661c9381efb6177997d3e8e4fc664b27af367286d94fccbe9f4048a0e949817d59516450321fdcbae3bf78759e1fc01ce94f91a1da58abdc313908c66
 EBUILD libdbpp-odbc-0.9-r1.ebuild 817 SHA256 c24d80f4ab2e7b15179a1bb2f2c2fe4281cd25ac21f477eba092ea58c2f21874 SHA512 d281cd4edd22cb7a16f7b983ab5b07f0867565cb593a9fec5b8db57a88dda2de2591af4de98f4b2d62783da65bd92aff46490d31d57796fce1b3f242d391ff20 WHIRLPOOL 631b4b28783dcb442715a226e589bfb47198244a28afe7c7207688bfa1bd57fbbbab51edf40a62adddc29720d3f14be3908eb20c51235a707ef266eb10b7ce11
+EBUILD libdbpp-odbc-1.0.0.ebuild 825 SHA256 d156a8f550c41fa90e35d5e2b9d668580d4b63c6e9847cd5ec85d8367cd4b0a3 SHA512 aa1b98739121620114d8489332fcbca5df40685f8970f02a0011221f07777621b542f51f6716c9809d979809ce1eea75df493f4bb883eb9c1e4751cc70afaea2 WHIRLPOOL 8f76036e2009372e96f0b29fa283b616d765bf1bb317b10e72dd2af1fa85be3b54964ab46ba7730df7840e3f14a3d9e6501de45ed370773822f63d1b88b1e909
diff --git a/dev-libs/libdbpp-odbc/libdbpp-odbc-1.0.0.ebuild b/dev-libs/libdbpp-odbc/libdbpp-odbc-1.0.0.ebuild
new file mode 100644
index 0000000..31deb0a
--- /dev/null
+++ b/dev-libs/libdbpp-odbc/libdbpp-odbc-1.0.0.ebuild
@@ -0,0 +1,38 @@
+EAPI="5"
+
+DESCRIPTION="C++ database connectivity ODBC components"
+HOMEPAGE="http://libdbpp.randomdan.homeip.net/odbc"
+
+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-1.0*:=
+	dev-db/unixODBC
+	dev-libs/libadhocutil:=
+"
+DEPEND="
+	${RDEPEND}
+	dev-util/boost-build
+"
+
+src_prepare() {
+	sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_compile() {
+	cd ${S}/libodbcpp || die
+	setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release dbpp-odbc -q || die
+}
+
+src_install() {
+	cd ${S}/libodbcpp || die
+
+	setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q \
+		--libdir=${D}/usr/lib \
+		--includedir=${D}/usr/include/dbpp-odbc || die
+}
+
-- 
cgit v1.2.3