diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 19:26:32 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-09-25 19:26:32 +0100 |
commit | 9e3d74849e02c701c0371d807a9be44a2693d65f (patch) | |
tree | 318b940a356e03b4009f376c1a02891447cc0fb3 /dev-libs | |
parent | Switch gtk themes (diff) | |
download | portage-9e3d74849e02c701c0371d807a9be44a2693d65f.tar.bz2 portage-9e3d74849e02c701c0371d807a9be44a2693d65f.tar.xz portage-9e3d74849e02c701c0371d807a9be44a2693d65f.zip |
Initial commit of libdbpp
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libdbpp/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libdbpp/libdbpp-0.9_beta1.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libdbpp/Manifest b/dev-libs/libdbpp/Manifest new file mode 100644 index 0000000..acf9f31 --- /dev/null +++ b/dev-libs/libdbpp/Manifest @@ -0,0 +1,2 @@ +DIST libdbpp-0.9_beta1.tar.bz2 6868 SHA256 7aa4249b0c03d62b86827a18278d2a999204dedc34755827bacfa1fa02b6be9e SHA512 e4b4ce1d7b727e822c60f445509597010e47995cb4254853194e1c9d141df992da51f0425e9a7f6ebfc877beaede35f0e4244c24daeae512d987da1158934313 WHIRLPOOL dd39958057b370770aedfed3f9342500f52cc9ec9d9a0cd147b63207da364719dc89a39cac676aeb9dfe6407b28f3dccb4179811e0de7deabd0e5ca6f26beb26 +EBUILD libdbpp-0.9_beta1.ebuild 1064 SHA256 3365f048bf5735153c467d5d2933ae6b6f7091effd73163bdfb68af0c9e04c08 SHA512 4ebbd2b74238d8997c633dace0c592ff45889e8bd68660d0249679ff284d8ab4b2e41a82e08d0a391ca593dc10c2efc97569261d273d5473f25926ae3ecfb821 WHIRLPOOL 75806baac336058e1a85550fe28cb2dda99aebeeb097e79eb89a7afae15bd37d9925f52f9621fb9b111542e85382d83f9f7b2aff0dfab91431a064731e6a828b diff --git a/dev-libs/libdbpp/libdbpp-0.9_beta1.ebuild b/dev-libs/libdbpp/libdbpp-0.9_beta1.ebuild new file mode 100644 index 0000000..570308d --- /dev/null +++ b/dev-libs/libdbpp/libdbpp-0.9_beta1.ebuild @@ -0,0 +1,46 @@ +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 +" +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 +} + |