linamh/dev-libs/ealogger/ealogger-0.8.1.ebuild

34 lines
675 B
Bash
Raw Normal View History

# 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
2022-08-23 12:41:36 +02:00
inherit cmake
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=""
RDEPEND=""
DEPEND="${RDEPEND}"
2021-06-30 18:45:43 +02:00
src_prepare() {
sed -e 's!lib)!${CMAKE_INSTALL_LIBDIR})!' -i src/CMakeLists.txt
2023-01-10 14:59:32 +01:00
cmake_src_prepare
eapply_user
2021-06-30 18:45:43 +02:00
}
src_configure() {
# "-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"
2021-06-30 18:45:43 +02:00
local mycmakeargs=(
"-DLIB_INSTALL_DIR=$(get_libdir)" )
2023-01-10 14:59:32 +01:00
cmake_src_configure
2021-06-30 18:45:43 +02:00
}