summaryrefslogtreecommitdiff
path: root/dev-util/kconfig-frontends/kconfig-frontends-20200721.ebuild
blob: 84103617d97d9b39cb3b9abe9537a1ae2a52f0fd (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
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="Kconfig frontends for NuttX"
HOMEPAGE="https://bitbucket.org/nuttx/tools"
HASH="9484147c12d051014f854852d59c21d75a9616bd"
SRC_URI="https://bitbucket.org/nuttx/tools/get/${HASH}.tar.gz -> ${P}.tar.gz"

LICENSE="GPLv2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ncurses"

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

S="${WORKDIR}/nuttx-tools-${HASH:0:12}/kconfig-frontends"


src_prepare() {
	eapply_user
	eautoreconf -i -f -v
}

src_configure() {
	econf \
		$(use_enable ncurses mconf)
}