summaryrefslogtreecommitdiff
blob: 1638959b1deeb398a8d0e33a369f7b2111b16b61 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

MY_PV="$(ver_rs 1-2 -)"

DESCRIPTION="Squid Top - top for Squid"
HOMEPAGE="https://github.com/paleg/sqtop"
SRC_URI="https://github.com/paleg/sqtop/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="sys-libs/ncurses:0="
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-2015.02.08-ncurses.patch"
)

src_prepare() {
	default
	eautoreconf
}