summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 21:22:58 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-09-25 21:22:58 +0100
commitd089de024b691027158896313a94aed0f846ad42 (patch)
treed9816ab9d7d7ccfeab92437350886ad96de4e3eb /dev-libs
parentInitial commit of libdbpp-sqlite (diff)
downloadportage-d089de024b691027158896313a94aed0f846ad42.tar.bz2
portage-d089de024b691027158896313a94aed0f846ad42.tar.xz
portage-d089de024b691027158896313a94aed0f846ad42.zip
Initial commit of libdbpp-odbc
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libdbpp-odbc/Manifest2
-rw-r--r--dev-libs/libdbpp-odbc/libdbpp-odbc-0.9_beta1.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libdbpp-odbc/Manifest b/dev-libs/libdbpp-odbc/Manifest
new file mode 100644
index 0000000..40b3e95
--- /dev/null
+++ b/dev-libs/libdbpp-odbc/Manifest
@@ -0,0 +1,2 @@
+DIST libdbpp-odbc-0.9_beta1.tar.bz2 32085 SHA256 e9c3f50823387787997382e84854435d03e57603736e2aa3ae1450ba5d86dea9 SHA512 c29a23f81acb588c47c289ddb8691225b9a309b147af6481068e1ba875bb106d79df34e75f3d69089b3dc0aaf52604b438439aa91725a4d9d32ba7cdf8113c98 WHIRLPOOL 76f9901bf9a76a94290890c844703dd9feb55e08a791b0f17482f4cd8ab0d9dc98cef51822ba4d911c0f792fbd36351991d7c87408e215e4047aece77a84c157
+EBUILD libdbpp-odbc-0.9_beta1.ebuild 796 SHA256 62fa9d67ef98fea8d5fd508e39635e7e6a8942ae211352d3dee8394ecdbc1c50 SHA512 3902d5603c62f567d4e1ae3007730625acd320885a3049194836168556317624f4ba0221b89b9270a7da4fd740fd8d4fa2ce30cb86f6787f99ef43cbd186d3a9 WHIRLPOOL f8f5e54e4cf763e18f2ccee55b52ca639783b1ce5942ba220e92786f26105a69b3d309564b5f63aac37e91eb4aac818c5ec79950b4f4f9af70fa439336b5054e
diff --git a/dev-libs/libdbpp-odbc/libdbpp-odbc-0.9_beta1.ebuild b/dev-libs/libdbpp-odbc/libdbpp-odbc-0.9_beta1.ebuild
new file mode 100644
index 0000000..b67f2f6
--- /dev/null
+++ b/dev-libs/libdbpp-odbc/libdbpp-odbc-0.9_beta1.ebuild
@@ -0,0 +1,37 @@
+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
+ 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
+}
+