dev-lang/fbc-bootstrap: Version bump to 1.07.3

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
This commit is contained in:
William Breathitt Gray
2021-04-12 09:51:44 +09:00
parent 31ac6c64fb
commit 769628ffae
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Bootstrap package for dev-lang/fbc"
HOMEPAGE="https://www.freebasic.net"
SRC_URI="https://github.com/freebasic/fbc/releases/download/${PV}/FreeBASIC-${PV}-source-bootstrap.tar.xz"
LICENSE="FDL-1.2 GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PATCHES=( "${FILESDIR}"/fbc-1.07.0-Pass-ltinfo-to-linker.patch )
S="${WORKDIR}/FreeBASIC-${PV}-source-bootstrap"
src_compile() {
emake bootstrap-minimal
}
src_install() {
newbin bin/fbc fbc-bootstrap
emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-includes
emake DESTDIR="${D}" prefix="/usr/share/freebasic-bootstrap" TARGET=${CHOST} install-rtlib
}