dev-libs/octetos-core: many fixes

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan 2020-05-01 11:30:19 +02:00
parent 0882178171
commit 339d88a47c
No known key found for this signature in database
GPG Key ID: A19F636CD4EDBCD1
3 changed files with 55 additions and 16 deletions

View File

@ -2,24 +2,37 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 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" HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/1.2.2-br.tar.gz" SRC_URI="https://github.com/azaeldevel/octetos-core/archive/1.2.2-br.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="" IUSE=""
DEPEND="" DEPEND=""
RDEPEND="${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() { src_unpack() {
unpack ${A} default
ln -s octetos-core-1.2.2-br $P ln -s octetos-core-1.2.2-br "${P}"
#echo "PWD:$PWD"
} }
src_configure() { src_configure() {
autoreconf -fi eautoreconf -fi
} }
src_compile() { src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed" emake || die "emake failed"

View File

@ -2,25 +2,38 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 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" HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz" SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.0.0-alpha.2.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="" IUSE=""
DEPEND="" DEPEND=""
RDEPEND="${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() { src_unpack() {
unpack ${A} default
ln -s octetos-core-2.0.0-alpha.2 $P ln -s octetos-core-2.0.0-alpha.2 "${P}"
} }
src_prepare() { src_prepare() {
autoreconf -fi eautoreconf -fi
eapply_user eapply_user
} }
src_configure() { src_configure() {
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf econf

View File

@ -2,30 +2,43 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 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" HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.2.0-beta.3.tar.gz" SRC_URI="https://github.com/azaeldevel/octetos-core/archive/2.2.0-beta.3.tar.gz"
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
IUSE="" IUSE=""
DEPEND="" DEPEND=""
RDEPEND="${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() { src_unpack() {
unpack ${A} default
ln -s octetos-core-2.2.0-beta.3 $P ln -s octetos-core-2.2.0-beta.3 "${P}"
} }
src_prepare() { src_prepare() {
autoreconf -fi eautoreconf -fi
eapply_user eapply_user
} }
src_configure() { src_configure() {
if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
econf econf
fi fi
} }
src_compile() { src_compile() {
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake || die "emake failed" emake || die "emake failed"