summaryrefslogtreecommitdiff
blob: 2c033c7d93ef6b2dee0e7ce8e9b06e94ac649eb5 (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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs eutils

DESCRIPTION="A rewrite of CVSup"
HOMEPAGE="http://www.mu.org/~mux/csup.html"
SRC_URI="http://mu.org/~mux/csup-snap-${PV}.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="
	sys-libs/zlib:0=
	dev-libs/openssl:0="

RDEPEND="
	${DEPEND}"

DEPEND="
	${DEPEND}
	>=sys-devel/bison-2.1"

S="${WORKDIR}/${PN}"

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

src_compile() {
	# unable to work with yacc, but bison is ok.
	emake \
		CC="$(tc-getCC)" \
		PREFIX=/usr \
		YACC=bison
}

src_install() {
	dobin "${PN}"
	doman "${PN}.1"
	einstalldocs
}