summaryrefslogtreecommitdiff
blob: 81f1b69d314e49d1067fd2f0f6c5a261fb945090 (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
38
39
40
41
42
43
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit autotools

DESCRIPTION="run the same command across many hosts in parallel"
HOMEPAGE="http://web.taranis.org/shmux/"
SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"

LICENSE="shmux"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="pcre"
RESTRICT="test"

RDEPEND="
	pcre? ( dev-libs/libpcre )
	sys-libs/ncurses:0=
"

DEPEND="
	${RDEPEND}
	virtual/awk"

PATCHES=( "${FILESDIR}"/${P}-tinfo.patch )

DOCS=( CHANGES )

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf $(use_with pcre)
}

src_install() {
	emake DESTDIR="${D}" install
	einstalldocs
}