mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-19 03:22:36 +01:00
28 lines
797 B
Bash
28 lines
797 B
Bash
# 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
|
|
}
|