summaryrefslogtreecommitdiff
blob: 429e0f4ee3f81b4ec0a33ee062f485861c494395 (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
# Copyright 1999-2020 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
}