Added Casio dev kit

This commit is contained in:
Suwako Moriya 2019-02-21 00:22:47 +01:00
parent d78b844cdd
commit 3579c93886
6 changed files with 81 additions and 0 deletions

2
dev-util/fxsdk/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST fxsdk-9999.tar.gz 31253 BLAKE2B 29fd48108e6538db859530f6f51478ebd07629d1600a2453868ff4425c5ad4588119989942181eb9249bd1e1b766c8ae512b5928c3cc6e3efa0d5e80a0213f36 SHA512 22b503b5d47a437fd640845f236ccba0320af6a363f6f35474761882a4157a3e8888e601c43d285e62238d007769f5a241f7cda0a7641d16539a7aa4fa80764d
EBUILD fxsdk-9999.ebuild 797 BLAKE2B 7f10026cd6804f8c2f301aeb1099e16c26f47e9efc203e5d705327a079f5bbc3353c8dab24a2f77eb5631e2700edf10a9b0f59f00923ceda702e576e255cd0ef SHA512 ea3f0b04866fcc29517101b1b0148cada5223418d00719a22e44b65ca50e92bca36672f6b8a313ebd6b4942fbaa11c7949288a38d2c6df8aa39639ea2f4a37ae

View File

@ -0,0 +1,27 @@
# 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
}

View File

@ -0,0 +1,2 @@
DIST g1a-wrapper-9999.tar.gz 13402 BLAKE2B 14bfef71387fa02b3e97fcc688e610017c552e65be91935dbc043ace80ffb9d4020305be78c44d2872a6a79c868314c32095e773f0c37310cb5213a66683ada3 SHA512 8783385a9b300a66936c51ecb0b2fda775223ffc032b9adc9703938779514eb8807c00846a8d9702243713c8c407a0284407a3cfdb0919d2d3937a6781367b94
EBUILD g1a-wrapper-9999.ebuild 559 BLAKE2B 83b628c459a04bcee54d153cc308f1747d9710d54f01ea0b295886c3476f7919d30e1e8a9e42efeb7c74ed2680658b14e1a65415d9425d47b62f7946393a0d93 SHA512 6ae915668e8602bb2c24ed7afab6c72351f0c2ce0313ad818c88a2a87d0c769b89e5a4ca8ec8800f7c90653976543b2c1d97091f8ccdfad9522a1bd7edb02466

View File

@ -0,0 +1,22 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="g1a-wrapper is a simple utility program that generates g1a files from pure
compiled binary source code."
HOMEPAGE="https://bitbucket.org/Lephenixnoir/add-in-wrapper/overview"
SRC_URI="https://moriya.zapto.org/SuwakoMmh/add-in-wrapper/archive/master.tar.gz -> ${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/add-in-wrapper/"
src_install() {
dobin build/g1a-wrapper
}

View File

@ -0,0 +1 @@
EBUILD meta-casio-9999.ebuild 956 BLAKE2B e3eac7d269182e437af1cc4abc00851ff398ac07ebf7e199fb678f6dfbf3b9637f81206b72b4b1aad3927897f7f4be0153e5dde238c7a8edb160fb01d9ba5eba SHA512 56c0f4f451c9d0196a45519982b7f2ce6aa9c7e61ce8fe9bb80fdf2541db254567c190c0b7d23c3bcaccced997792f494d48de2346d39805a0f8c9822dd90239

View File

@ -0,0 +1,27 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A meta package that installs Lephenixnoir's fxSDK and add-ins wrapper"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/g1a-wrapper
dev-util/fxsdk"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}/add-in-wrapper/"
pkg_postinst() {
einfo "To compile software for calculator, you will need to install crossdev"
einfo "to do so, run emerge --ask crossdev"
einfo "then, you will need gcc, choose a target that suits for your calculator"
einfo " - \"sh3eb-elf\" for SH3 and SH4 Monochrome casio calculators"
einfo " - \"sh4eb-nofpu-elf\" for GRAPH 90+E or others specific uses"
einfo "run crossdev --target <target>"
einfo "it is normal that newlib won't compile, more info on the following link"
einfo "https://www.planet-casio.com/Fr/forums/topic15316-1-Complete-C-standard-library.html"
}