You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
567 B
29 lines
567 B
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
6 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
|
|
||
|
inherit cmake
|
||
6 years ago
|
|
||
|
DESCRIPTION="Header-only C++ logging library"
|
||
|
HOMEPAGE="https://github.com/badaix/aixlog"
|
||
|
|
||
|
if [[ ${PV} == *9999 ]] ; then
|
||
4 years ago
|
inherit git-r3
|
||
6 years ago
|
|
||
|
EGIT_REPO_URI="https://github.com/badaix/aixlog.git"
|
||
|
EGIT_BRANCH="develop"
|
||
|
else
|
||
4 years ago
|
SRC_URI="https://github.com/badaix/aixlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
6 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
fi
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
|
||
|
|
||
4 years ago
|
cmake_src_configure
|
||
6 years ago
|
}
|