summaryrefslogtreecommitdiff
path: root/dev-build/cmake-fedora/cmake-fedora-2.9.3.ebuild
blob: d106a4e095ed835e848f3097e324b9e49bec4523 (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-2024 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
}