1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
8 inherit autotools python-r1
10 DESCRIPTION="Utility that scans through the system and generates a menu of installed programs"
11 HOMEPAGE="http://menumaker.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
16 KEYWORDS="amd64 ~ppc x86"
20 RDEPEND="${PYTHON_DEPS}"
22 doc? ( sys-apps/texinfo )"
24 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
27 "${FILESDIR}"/${PN}-0.99.10-AM_PATH_PYTHON.patch
37 ECONF_SOURCE="${S}" econf PYTHON="${EPYTHON}"
39 python_foreach_impl run_in_build_dir configure
47 python_foreach_impl run_in_build_dir compile
53 use doc && emake DESTDIR="${D}" install-html
55 python_foreach_impl run_in_build_dir compile
56 python_replicate_script "${ED%/}"/usr/bin/mmaker