diff --git a/dev-libs/octetos-db-maria/octetos-db-maria-9999.ebuild b/dev-libs/octetos-db-maria/octetos-db-maria-9999.ebuild new file mode 100644 index 0000000000..b06dbccda8 --- /dev/null +++ b/dev-libs/octetos-db-maria/octetos-db-maria-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MYPV="${PV/_alpha/-alpha}" +MYP="${PN}-${MYPV}" +DESCRIPTION="C++ library for Database Acces." +HOMEPAGE="https://github.com/azaeldevel/octetos-db-maria" +if [[ ${PV} == 9999 ]]; then +inherit autotools git-r3 +EGIT_REPO_URI="https://github.com/azaeldevel/octetos-core.git" +else +inherit autotools +SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/octetos-db-abstract + dev-db/mariadb-connector-c +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + default + eautoreconf -fi +} + +src_configure() { + econf --with-gentoo +}