gensokyo_kappa-overlay/dev-util/fxsdk/fxsdk-9999.ebuild

28 lines
797 B
Bash
Raw Normal View History

2019-02-21 00:22:47 +01:00
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Ever wanted to develop programs for fx9860G under Linux ? GCC power, using libraries, inline assembly and C11 standard ? There you go."
HOMEPAGE="https://git.planet-casio.com/lephe/fxsdk"
SRC_URI="https://moriya.zapto.org/SuwakoMmh/fxsdk/archive/master.tar.gz -> ${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/fxsdk/"
src_install() {
if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
mkdir -p ${D}/usr/bin ${D}/usr/share/fxsdk
echo target_bin=${D}/usr/bin >> Makefile.cfg
echo target_data=${D}/usr/share/fxsdk >> Makefile.cfg
emake DESTDIR="${D}" install
fi
einstalldocs
}