diff options
author | Marcin Deranek <marcin.deranek@booking.com> | 2023-04-23 19:50:41 +0200 |
---|---|---|
committer | Marcin Deranek <marcin.deranek@booking.com> | 2023-04-23 19:50:41 +0200 |
commit | 4e6fdec9f62693ec38ef5ff91d59c81fec4e87f5 (patch) | |
tree | 4830411106855dcd67f2c4c58dbb38bb34f3037e /dev-util/ugtrain/ugtrain-9999.ebuild | |
parent | 568402d9adc6ed574ccc9545380dbf128f9d41d7 (diff) | |
download | portage-4e6fdec9f62693ec38ef5ff91d59c81fec4e87f5.tar.gz portage-4e6fdec9f62693ec38ef5ff91d59c81fec4e87f5.tar.bz2 portage-4e6fdec9f62693ec38ef5ff91d59c81fec4e87f5.zip |
New ebuilds
Diffstat (limited to 'dev-util/ugtrain/ugtrain-9999.ebuild')
-rw-r--r-- | dev-util/ugtrain/ugtrain-9999.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/ugtrain/ugtrain-9999.ebuild b/dev-util/ugtrain/ugtrain-9999.ebuild new file mode 100644 index 0000000..2d512a7 --- /dev/null +++ b/dev-util/ugtrain/ugtrain-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools bash-completion-r1 + +DESCRIPTION="Universal Game Trainer" +HOMEPAGE="https://github.com/ugtrain/ugtrain" +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + S="${WORKDIR}/${P}" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +SLOT="0" +LICENSE="GPL-3" +RESTRICT="!test? ( test )" +IUSE="bash-completion examples glib multilib test" + +DEPEND="" +RDEPEND=" + dev-util/scanmem + sys-devel/binutils +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-bash-completion-dir=$(usex bash-completion $(get_bashcompdir)) + $(use_enable glib) + $(use_enable multilib) + $(use_enable test testing) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |