blob: e90e465fcee66373520f34744065b01a3736e346 (
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
44
45
46
|
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="Fullscreen text mode manager for the BOINC client"
HOMEPAGE="https://github.com/suleman1971/boinctui"
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug gnutls"
DEPEND="
dev-libs/expat
sys-libs/ncurses:=
gnutls? ( net-libs/gnutls:=[openssl] )
!gnutls? ( dev-libs/openssl:= )
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-2.7.1-tinfo.patch )
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--with-boinc-dir="${EPREFIX}/var/lib/boinc"
# $(use_with ...) is broken here
$(usex !gnutls "--without-gnutls" "")
)
econf "${myeconfargs[@]}"
use debug && append-cppflags -DDEBUG
}
src_install() {
emake DESTDIR="${D}" DOCDIR="${EPREFIX}/usr/share/doc/${PF}" install
}
|