commit:     339d88a47c4dd7fc0adcbf333bafac6555118a82
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri May  1 09:30:19 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri May  1 09:30:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=339d88a4

dev-libs/octetos-core: many fixes

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../octetos-core/octetos-core-1.2.2_beta.ebuild    | 25 ++++++++++++++++------
 .../octetos-core/octetos-core-2.0.0_beta.ebuild    | 23 +++++++++++++++-----
 .../octetos-core/octetos-core-2.2.0_beta.ebuild    | 23 +++++++++++++++-----
 3 files changed, 55 insertions(+), 16 deletions(-)

diff --git a/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild 
b/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
index 02cfe7d..6b9289e 100644
--- a/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
+++ b/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
@@ -2,24 +2,37 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
+
+inherit autotools
+
+DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
 HOMEPAGE="https://github.com/azaeldevel/octetos-core";
 SRC_URI="https://github.com/azaeldevel/octetos-core/archive/1.2.2-br.tar.gz";
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE=""
+
 DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND="dev-util/cunit >=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
+BDEPEND="
+       dev-util/cunit
+       >=sys-devel/gcc-8.1
+       >=sys-devel/bison-3.1
+       dev-libs/libconfig
+"
+
 src_unpack() {
-       unpack ${A}
-       ln -s octetos-core-1.2.2-br $P
-       #echo "PWD:$PWD"
+       default
+       ln -s octetos-core-1.2.2-br "${P}"
 }
+
 src_configure() {
-autoreconf -fi
+       eautoreconf -fi
 }
+
 src_compile() {
        if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
                emake || die "emake failed"

diff --git a/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild 
b/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
index 74fa4d5..76c32d5 100644
--- a/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
+++ b/dev-libs/octetos-core/octetos-core-2.0.0_beta.ebuild
@@ -2,25 +2,38 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
+
+inherit autotools
+
+DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
 HOMEPAGE="https://github.com/azaeldevel/octetos-core";
 
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz";
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE=""
+
 DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND="dev-util/cunit >=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
+BDEPEND="
+       dev-util/cunit
+       >=sys-devel/gcc-8.1
+       >=sys-devel/bison-3.1
+       dev-libs/libconfig
+"
 
 src_unpack() {
-       unpack ${A}
-       ln -s octetos-core-2.0.0-alpha.2 $P
+       default
+       ln -s octetos-core-2.0.0-alpha.2 "${P}"
 }
+
 src_prepare() {
-       autoreconf -fi
+       eautoreconf -fi
        eapply_user
 }
+
 src_configure() {
        if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
                econf

diff --git a/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild 
b/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
index 3cd840d..380bac2 100644
--- a/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
+++ b/dev-libs/octetos-core/octetos-core-2.2.0_beta.ebuild
@@ -2,30 +2,43 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-DESCRIPTION="C/C++ library to mainly provide Semantic Versioned inplmetation."
+
+inherit autotools
+
+DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
 HOMEPAGE="https://github.com/azaeldevel/octetos-core";
 
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.2.0-beta.3.tar.gz";
+
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
+
 IUSE=""
+
 DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND=">=sys-devel/gcc-8.1 >=sys-devel/bison-3.1"
+BDEPEND="
+       >=sys-devel/gcc-8.1
+       >=sys-devel/bison-3.1
+       dev-libs/libconfig
+"
 
 src_unpack() {
-       unpack ${A}
-       ln -s octetos-core-2.2.0-beta.3 $P
+       default
+       ln -s octetos-core-2.2.0-beta.3 "${P}"
 }
+
 src_prepare() {
-       autoreconf -fi
+       eautoreconf -fi
        eapply_user
 }
+
 src_configure() {
        if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
                econf
        fi
 }
+
 src_compile() {
        if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
                emake || die "emake failed"

Reply via email to