summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libdbpp/Manifest2
-rw-r--r--dev-libs/libdbpp/libdbpp-0.9.1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libdbpp/Manifest b/dev-libs/libdbpp/Manifest
index 0c86e6b..dae5828 100644
--- a/dev-libs/libdbpp/Manifest
+++ b/dev-libs/libdbpp/Manifest
@@ -1,2 +1,4 @@
+DIST libdbpp-0.9.1.tar.bz2 11171 SHA256 cadecca3d753f77d5681bfb30b8e3783054d35201242d431a36037f87a4e79a3 SHA512 9b3882a5a9752bec0c216c6f804da9e14e89244247a87822634667f2e054e01b4c2beaa2f92db9f6d85694127f552090189977db8474de3662732fa991113c49 WHIRLPOOL 9d9f00b79dfdddd3c5647ad696accece371ea5bcd55e544b3b3c55b5953495982cce1676802c322cb973f0d29e09426dde6b3afee6fb5b19d4bb784ee0206003
DIST libdbpp-0.9.tar.bz2 10980 SHA256 cae5d67c98fa60b27002037f59357c2f7b6b46c9e7ed756743ed9510c6e67ad9 SHA512 2577720c48ada6ed6a133c39eac5dd5bffb650ee9e1db15669406a34008ee66f069d9f593d0a403af3d152b8a7a252deba883b5c57f3797e7cf597e1b726719f WHIRLPOOL 0cad53aeeead3f3a23e255f594c88146769835993c804ed1343c0ec5eb933f54e17e0dc729924ede97b86645797a443fa75eaf88e5ea760b9df3f4b9965ba919
+EBUILD libdbpp-0.9.1.ebuild 1093 SHA256 b5c3a8b2b1a0c661d642e275a581de9e7181eacaed3c116b3d907eac0d784b32 SHA512 227014a28e2455f7203416cd5131a421f959f20c67cf54eef72efb999318f6c6e51e197c2a5a5e76925d3a63ffe8a29662d03287bbbf6e7163c4899332046a0d WHIRLPOOL cee301b600b4de66b25eb1c2291411602dec2092c35f575b82b0f7e893507454fc545b262c57f94b872cdb9898b6fbb606340fcb1ff60b4fc3a1105ab9bdd6f9
EBUILD libdbpp-0.9.ebuild 1093 SHA256 b5c3a8b2b1a0c661d642e275a581de9e7181eacaed3c116b3d907eac0d784b32 SHA512 227014a28e2455f7203416cd5131a421f959f20c67cf54eef72efb999318f6c6e51e197c2a5a5e76925d3a63ffe8a29662d03287bbbf6e7163c4899332046a0d WHIRLPOOL cee301b600b4de66b25eb1c2291411602dec2092c35f575b82b0f7e893507454fc545b262c57f94b872cdb9898b6fbb606340fcb1ff60b4fc3a1105ab9bdd6f9
diff --git a/dev-libs/libdbpp/libdbpp-0.9.1.ebuild b/dev-libs/libdbpp/libdbpp-0.9.1.ebuild
new file mode 100644
index 0000000..e7bc137
--- /dev/null
+++ b/dev-libs/libdbpp/libdbpp-0.9.1.ebuild
@@ -0,0 +1,47 @@
+EAPI="5"
+
+DESCRIPTION="C++ database connectivity common components"
+HOMEPAGE="http://libdbpp.randomdan.homeip.net/"
+
+SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="x86 amd64"
+IUSE="man ut"
+
+RDEPEND="
+ dev-libs/boost
+ >=dev-libs/libadhocutil-0.2
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/flex
+ dev-util/boost-build
+ man? ( app-doc/doxygen )
+"
+
+src_prepare() {
+ sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam
+}
+
+src_compile() {
+ cd ${S}/libdbpp || die
+ setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release dbppcore $(use ut && echo dbpptestcore) -q || die
+}
+
+src_install() {
+ cd ${S}/libdbpp || die
+
+ setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install $(use ut && echo installtest) -q \
+ --libdir=${D}/usr/lib \
+ --includedir=${D}/usr/include/dbpp || die
+
+ if use man ; then
+ mkdir -p ${D}/usr/share/man
+ (cat Doxyfile ;
+ echo OUTPUT_DIRECTORY=${D}/usr/share
+ echo PROJECT_NUMBER=${PV}
+ ) | tee /var/tmp/doxy | doxygen - || die "Build docs failed"
+ fi
+}
+