dev-lang/mozart-stdlib: Tidyup, use cmake.eclass

Drop superfluous and post-inherit BUILD_DIR, CMAKE_USE_DIR

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-04-05 14:18:09 +02:00
parent 71a7e85770
commit 5991ddf5a0

View File

@@ -1,11 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
MY_PN=mozart2-stdlib
inherit cmake
PATCHSET_VER="0"
@@ -23,14 +22,10 @@ RDEPEND=">=dev-lang/mozart-2.0.1"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_PN}"
BUILD_DIR="${S}/build"
CMAKE_USE_DIR="${S}"
src_prepare() {
if [[ -d "${WORKDIR}"/${PV} ]] ; then
eapply "${WORKDIR}"/${PV}
fi
eapply_user
cmake-utils_src_prepare
cmake_src_prepare
}