# 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) }