1 # Copyright © 2022 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
8 inherit toolchain-funcs
13 DESCRIPTION="ELF to a.out convertor for SPARC and SPARC64 bootstraps"
14 SRC_URI="http://archive.debian.org/debian-archive/debian/pool/main/s/$MY_PN/$MY_P.orig.tar.gz"
20 RDEPEND="!sys-apps/sparc-utils"
23 "$FILESDIR/$PN-build-rules.patch"
24 "$FILESDIR/$PN-lp64-fixes.patch"
25 "$FILESDIR/$PN-no-linux-elf.patch"
28 S=$WORKDIR/${MY_P/_/-}.orig
31 emake -C $P CC=$(tc-getCC) CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"