guru/dev-libs/octetos-core/octetos-core-1.2.2_beta.ebuild
Andrew Ammerlaan 3cd9065473
dev-libs/octetos-core: simplify ebuilds
you can set the S variable to the location of the source files
instead of symlinking the source files to the default value of S

Also, there is no need to specify the default functions, they
are implemented automatically if nothing is specified

Using MYPV is very helpful as you now only have to change 1 line
to version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-05-05 11:08:44 +02:00

35 lines
610 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
MYPV="${PV/_beta/-br}"
DESCRIPTION="C/C++ library to mainly provide Semantic Versioned implementation"
HOMEPAGE="https://github.com/azaeldevel/octetos-core"
SRC_URI="https://github.com/azaeldevel/${PN}/archive/${MYPV}.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
dev-libs/libconfig
"
S="${WORKDIR}/${PN}-${MYPV}"
src_prepare() {
default
eautoreconf -fi
}