2017-03-06 16:39:19 +01:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2022-07-19 17:19:29 +02:00
|
|
|
EAPI=7
|
2017-03-06 16:39:19 +01:00
|
|
|
inherit cmake-utils
|
|
|
|
|
|
|
|
DESCRIPTION="The easy asynchronous logger"
|
|
|
|
HOMEPAGE="https://github.com/crapp/ealogger"
|
|
|
|
SRC_URI="https://github.com/crapp/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
2017-03-06 16:40:03 +01:00
|
|
|
RDEPEND=""
|
2017-03-06 16:39:19 +01:00
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
2021-06-30 18:45:43 +02:00
|
|
|
src_prepare() {
|
|
|
|
sed -e 's!lib)!${CMAKE_INSTALL_LIBDIR})!' -i src/CMakeLists.txt
|
|
|
|
|
|
|
|
cmake-utils_src_prepare
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
2017-03-06 16:39:19 +01:00
|
|
|
# "-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"
|
2021-06-30 18:45:43 +02:00
|
|
|
local mycmakeargs=(
|
|
|
|
"-DLIB_INSTALL_DIR=$(get_libdir)" )
|
|
|
|
|
|
|
|
cmake-utils_src_configure
|
|
|
|
}
|