dev-libs/octetos-db-maria: adding package

Signed-off-by: Azael Reyes <azael.devel@gmail.com>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
Azael Reyes
2020-05-04 19:27:44 -07:00
parent 3ad2cf0a86
commit 42d83b5051
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST 1.2.2-alpha.6.tar.gz 91810 BLAKE2B 9c274928564e61e20ba5d553c41b588333b0abc52d6d964eb8c39e225a72d19c6b6cf953d94240245bad72e318edfce30662d1ed59fd0edf42159794c6be6952 SHA512 cde9aa8dc8552f5c4d10bef9908dc514e5cecfba73f3b67bd817e9818f84e665cc506648e15fe47dcd5ab0a8ae4943340e258c5a4b2b7546e65fb38455956c45

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>azael.devel@gmail.com</email>
<name>Azael Reyes</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="C++ library for Database Acces."
HOMEPAGE="https://github.com/azaeldevel/octetos-db"
SRC_URI="https://github.com/azaeldevel/octetos-db/archive/1.2.2-alpha.6.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-libs/octetos-core dev-db/mariadb-connector-c"
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
unpack ${A}
ln -s octetos-db-1.2.2-alpha.6 $P
}
src_configure() {
autoreconf -fi
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf --with-mariadb
fi
}
src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed"
fi
}