diff options
-rw-r--r-- | dev-libs/libdbpp-mysql/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libdbpp-mysql/libdbpp-mysql-0.9_beta1.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libdbpp-mysql/Manifest b/dev-libs/libdbpp-mysql/Manifest new file mode 100644 index 0000000..3403473 --- /dev/null +++ b/dev-libs/libdbpp-mysql/Manifest @@ -0,0 +1,2 @@ +DIST libdbpp-mysql-0.9_beta1.tar.bz2 12752 SHA256 71b2e98ff8eaa273de1a3627692d8069a526f2388063a6b4c06d56c0674f4f4a SHA512 8b0a0dd27a71b28971a9f3907d0315e783502bcb2eb82bafa7744bb2744754e72720378b11a7a3a61cc6098812a56653bfa1ea340fbecb7b4f12fa07fc9879cc WHIRLPOOL 722652248e1022028b95580701f44c7ba00738682876f5a37d82b38a720182bc42f7fb8eb0680590045fe173e6a94f8af3dc129f54adcdeb9ae5d84560b58664 +EBUILD libdbpp-mysql-0.9_beta1.ebuild 802 SHA256 62ff4f839dad8fe432b660a9abb279fa6bd69dcd762b098cc9a7d4027ca2c58a SHA512 062aab35157992980e4304e4e9b08f9931692174ca543ea0e3e22bbc9bd9b88eb4c76559bc8024590bcd451db3eaa6299e3dd7c2816173e51b196868ef9feaa5 WHIRLPOOL db2b4a3464ecb1b6fd2b04f91a32f2926f3979b5b241f77f0b44dfe760051b11cea5eb02a4674842e37233ccb6648e0348d5e35944f94f4b3cd8bc70e415143b diff --git a/dev-libs/libdbpp-mysql/libdbpp-mysql-0.9_beta1.ebuild b/dev-libs/libdbpp-mysql/libdbpp-mysql-0.9_beta1.ebuild new file mode 100644 index 0000000..423d37f --- /dev/null +++ b/dev-libs/libdbpp-mysql/libdbpp-mysql-0.9_beta1.ebuild @@ -0,0 +1,37 @@ +EAPI="5" + +DESCRIPTION="C++ database connectivity MySQL components" +HOMEPAGE="http://libdbpp.randomdan.homeip.net/mysql" + +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}/libmysqlpp || die + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release dbpp-mysql -q || die +} + +src_install() { + cd ${S}/libmysqlpp || die + + setarch $(uname -m) -RL bjam ${BJAMOPTS} variant=release install -q \ + --libdir=${D}/usr/lib \ + --includedir=${D}/usr/include/dbpp-mysql || die +} + |