From 7398b6549faf534726fb6760b4d50b2c256be66a Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Mon, 8 Oct 2018 08:40:09 +0200 Subject: [PATCH] new: sci-electronics/newrpl --- sci-electronics/newrpl/Manifest | 1 + sci-electronics/newrpl/newrpl-20180911.ebuild | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 sci-electronics/newrpl/Manifest create mode 100644 sci-electronics/newrpl/newrpl-20180911.ebuild diff --git a/sci-electronics/newrpl/Manifest b/sci-electronics/newrpl/Manifest new file mode 100644 index 0000000..c1c8f8e --- /dev/null +++ b/sci-electronics/newrpl/Manifest @@ -0,0 +1 @@ +EBUILD newrpl-20180911.ebuild 974 BLAKE2B 8bfd25e323617add7c4df96ddf785730d6a838e0699a9ba2718bfe00599e0d6c11245bdd03009889b6d7917ca4800787b176f4c15e9f02468d574b7997852100 SHA512 1ea13e9ac15a70b2e1b4a9207f889470cf7228f9eb68c57b3be434094373acba531645ce36b902996ce06d3d28141cfb5e3879e79b63c8e714e534a1745de2b7 diff --git a/sci-electronics/newrpl/newrpl-20180911.ebuild b/sci-electronics/newrpl/newrpl-20180911.ebuild new file mode 100644 index 0000000..0a80bc2 --- /dev/null +++ b/sci-electronics/newrpl/newrpl-20180911.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="newrpl-${PV}" +inherit desktop qmake-utils git-r3 + +DESCRIPTION="The classic RPL programming language reimplemented and reimagined." +HOMEPAGE="https://newrpl.wiki.hpgcc3.org/doku.php?id=start" +EGIT_REPO_URI="https://git.code.sf.net/p/newrpl/sources" +EGIT_COMMIT="79221b2eda5a13fa45ae5a1745d1f74aa107de29" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +#src_prepare() { +# default +# +# if ! use test ; then +# sed -i '/SUBDIRS += src /s/tests //' \ +# qtpass.pro || die "sed for qtpass.pro failed" +# fi +#} + +src_configure() { + cd ${S}/tools/elf2rom + eqmake5 + emake + emake install + cd ${S} + eqmake5 newrpl-comp.pro + emake + emake install + emake clean + rm Makefile + eqmake5 newrpl-ui.pro +} + +src_install() { + dobin newrpl-ui +}