diff options
author | Chris Mayo <aklhfex@gmail.com> | 2017-01-19 20:11:52 +0000 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-20 10:57:40 +0100 |
commit | a86031ea832f089e34eb518858d1df8d9c426655 (patch) | |
tree | 0a4669e2fa80bbca28b38926f7b2625f1d1ce837 /x11-misc/menumaker/menumaker-0.99.10.ebuild | |
parent | media-libs/libass: x86 stable wrt bug #596422 (diff) | |
download | gentoo-a86031ea832f089e34eb518858d1df8d9c426655.tar.gz gentoo-a86031ea832f089e34eb518858d1df8d9c426655.tar.bz2 gentoo-a86031ea832f089e34eb518858d1df8d9c426655.zip |
x11-misc/menumaker: bump to 0.99.10
Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/3547
Diffstat (limited to 'x11-misc/menumaker/menumaker-0.99.10.ebuild')
-rw-r--r-- | x11-misc/menumaker/menumaker-0.99.10.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/menumaker/menumaker-0.99.10.ebuild b/x11-misc/menumaker/menumaker-0.99.10.ebuild new file mode 100644 index 000000000000..7cb6eaad2a5d --- /dev/null +++ b/x11-misc/menumaker/menumaker-0.99.10.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit autotools python-r1 + +DESCRIPTION="Utility that scans through the system and generates a menu of installed programs" +HOMEPAGE="http://menumaker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +IUSE="doc" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND} + doc? ( sys-apps/texinfo )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.99.10-AM_PATH_PYTHON.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + configure() { + ECONF_SOURCE="${S}" econf PYTHON="${EPYTHON}" + } + python_foreach_impl run_in_build_dir configure +} + +src_compile() { + compile() { + default + use doc && emake html + } + python_foreach_impl run_in_build_dir compile +} + +src_install() { + compile() { + default + use doc && emake DESTDIR="${D}" install-html + } + python_foreach_impl run_in_build_dir compile + python_replicate_script "${ED%/}"/usr/bin/mmaker + einstalldocs +} |