blob: c9dca0e3eb926013453228deb346d0cc6b917826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Provides cmake helper macros and targets for linux, especially fedora developers"
HOMEPAGE="https://pagure.io/cmake-fedora"
SRC_URI="https://pagure.io/cmake-fedora/archive/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
# fails 1 of 7
RESTRICT="test"
src_prepare() {
sed -i \
-e '/GITIGNORE/d' \
-e '/INSTALL.*COPYING$/,/)$/d' \
"${S}"/CMakeLists.txt || die
cmake_src_prepare
}
|