aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/apidb/Manifest1
-rw-r--r--app-misc/apidb/apidb-4.3.0_beta.ebuild37
-rw-r--r--app-misc/apidb/metadata.xml8
3 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/apidb/Manifest b/app-misc/apidb/Manifest
new file mode 100644
index 000000000..e5501fc30
--- /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 000000000..fc6b572cd
--- /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 000000000..3a36ca4b7
--- /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.devel@gmail.com</email>
+ <name>Azael Reyes</name>
+ </maintainer>
+</pkgmetadata>