mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
dev-cpp/popl: port to EAPI 7
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Header-only C++ program options parser library"
|
||||
HOMEPAGE="https://github.com/badaix/popl"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit cmake-utils git-r3
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/badaix/popl.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit cmake-utils
|
||||
|
||||
SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
@@ -25,5 +25,5 @@ SLOT="0"
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Header-only C++ program options parser library"
|
||||
HOMEPAGE="https://github.com/badaix/popl"
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
inherit cmake-utils git-r3
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/badaix/popl.git"
|
||||
EGIT_BRANCH="develop"
|
||||
else
|
||||
inherit cmake-utils
|
||||
|
||||
SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
@@ -25,5 +25,5 @@ SLOT="0"
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
|
||||
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user