linamh/dev-embedded/calypsi/calypsi-3.6.10.ebuild
Mario Fetka ad534e78da Bump
2022-12-14 13:50:35 +01:00

48 lines
1.2 KiB
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils unpacker pam
DESCRIPTION="Calypsi is a series of C compiler and assembly language cross compiler tool chains. The current tool chains are aimed towards the retro and hobby communities."
HOMEPAGE="https://www.calypsi.cc/"
SRC_URI="https://tinyurl.com/5ychxfmv -> calypsi-6502-${PV}.deb
https://tinyurl.com/2p9hmhyw -> calypsi-65816-${PV}.deb
https://tinyurl.com/4xn9nws8 -> calypsi-68k-${PV}.deb"
LICENSE="Calypsi"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip mirror test"
DEPEND="sys-process/numactl"
RDEPEND="${DEPEND}"
S=${WORKDIR}
src_unpack() {
unpack_deb calypsi-6502-${PV}.deb
unpack_deb calypsi-65816-${PV}.deb
unpack_deb calypsi-68k-${PV}.deb
}
src_install() {
dodir /opt/calypsi/6502
cp -aR usr/local/lib/calypsi-6502-${PV}/* "${D}/opt/calypsi/6502"
doenvd "${FILESDIR}"/50calypsi-6502
dodir /opt/calypsi/65816
cp -aR usr/local/lib/calypsi-65816-${PV}/* "${D}/opt/calypsi/65816"
doenvd "${FILESDIR}"/50calypsi-65816
dodir /opt/calypsi/68k
cp -aR usr/local/lib/calypsi-68k-${PV}/* "${D}/opt/calypsi/68k"
doenvd "${FILESDIR}"/50calypsi-68k
}