commit: 6fa5df857ff6e321101f388d8a5f96e677f3addd Author: Azael Reyes <azael.devel <AT> gmail <DOT> com> AuthorDate: Tue May 5 02:34:01 2020 +0000 Commit: Azael Reyes <azael.devel <AT> gmail <DOT> com> CommitDate: Tue May 5 02:34:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fa5df85
app-misc/apidb: adding package Signed-off-by: Azael Reyes <azael.devel <AT> gmail.com> Package-Manager: Portage-2.3.89, Repoman-2.3.20 app-misc/apidb/Manifest | 1 + app-misc/apidb/apidb-4.3.0_beta.ebuild | 37 ++++++++++++++++++++++++++++++++++ app-misc/apidb/metadata.xml | 8 ++++++++ 3 files changed, 46 insertions(+) diff --git a/app-misc/apidb/Manifest b/app-misc/apidb/Manifest new file mode 100644 index 0000000..e5501fc --- /dev/null +++ b/app-misc/apidb/Manifest @@ -0,0 +1 @@ +DIST 4.3.0-beta.2.tar.gz 168416 BLAKE2B a3c6e948d0227c6bfc1e030111c0c31fe89ebc294f283246f3446d611ae4d4353534c9270dac40fb46b9189d8ea42ab0f10c2e2d783af8499442c207bd76e3dd SHA512 efc0733ea683a47a2e10e97a53ea6ed378aa152b191d7689529a9acfe0866c7aefec2987b9094c4874c4966ae5869a133a5b194de8e99af338282ff30f2586ad diff --git a/app-misc/apidb/apidb-4.3.0_beta.ebuild b/app-misc/apidb/apidb-4.3.0_beta.ebuild new file mode 100644 index 0000000..fc6b572 --- /dev/null +++ b/app-misc/apidb/apidb-4.3.0_beta.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils +DESCRIPTION="API Generator for Database acces." +HOMEPAGE="https://github.com/azaeldevel/apidb" +SRC_URI="https://github.com/azaeldevel/apidb/archive/4.3.0-beta.2.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="dev-libs/libxml2 dev-libs/boost sys-devel/bison sys-devel/flex x11-libs/gtk+ dev-libs/libtar dev-db/mariadb dev-libs/octetos-db-maria media-gfx/imagemagick" + +src_unpack() { + unpack ${A} + ln -s apidb-4.3.0-beta.2 $P + ls +} +src_prepare(){ + sed -i 's/lib/${LIBDIR}/' src/CMakeLists.txt || die + #sed -i 's/lib/${LIBDIR}/' src/mysql-reader-c++/CMakeLists.txt || die + sed -i 's/lib/${LIBDIR}/' src/mariadb-reader-c++/CMakeLists.txt || die +cmake-utils_src_prepare +} +src_configure() { +local mycmakeargs=(-DCMAKE_BUILD_TYPE=Debug -DAPIDB_VERSION_STAGE=betarelease -DAPIDB_MARIADB=Y -Wno-dev) +cmake-utils_src_configure +} +src_compile(){ +cmake-utils_src_compile +} +src_install(){ +cmake-utils_src_install +} diff --git a/app-misc/apidb/metadata.xml b/app-misc/apidb/metadata.xml new file mode 100644 index 0000000..3a36ca4 --- /dev/null +++ b/app-misc/apidb/metadata.xml @@ -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.de...@gmail.com</email> + <name>Azael Reyes</name> + </maintainer> +</pkgmetadata>