new: sci-electronics/newrpl

This commit is contained in:
Joerg Deckert 2018-10-08 08:40:09 +02:00
parent 3d8628c15f
commit 7398b6549f
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD newrpl-20180911.ebuild 974 BLAKE2B 8bfd25e323617add7c4df96ddf785730d6a838e0699a9ba2718bfe00599e0d6c11245bdd03009889b6d7917ca4800787b176f4c15e9f02468d574b7997852100 SHA512 1ea13e9ac15a70b2e1b4a9207f889470cf7228f9eb68c57b3be434094373acba531645ce36b902996ce06d3d28141cfb5e3879e79b63c8e714e534a1745de2b7

View File

@ -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
}