blob: b3209825eae3bf2330715f473c0f0106151ac424 (
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
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="902f5e3cbba66833bbf2d219c183d4705b3582c7"
inherit cmake edos2unix
DESCRIPTION='Fast distributed sorting routines using MPI and OpenMP'
HOMEPAGE="https://github.com/hsundar/usort"
SRC_URI="https://github.com/hsundar/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64"
LICENSE='MIT'
IUSE=""
SLOT="0/${PV}"
DEPEND="virtual/mpi"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-cmake.patch"
"${FILESDIR}/${P}-rename-THRESHOLD.patch"
"${FILESDIR}/${P}-fix-fpermissive.patch"
)
src_prepare() {
edos2unix CMakeLists.txt include/{seqUtils.h,seqUtils.tcc,ompUtils.tcc}
cmake_src_prepare
}
src_install() {
cmake_src_install
dodoc README.md
}
|