1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs flag-o-matic
8 DESCRIPTION
="Resource Compiler for ELF binaries"
9 HOMEPAGE
="http://elfembed.sourceforge.net/index.php"
10 SRC_URI
="mirror://sourceforge/${PN}/${P}.tar.gz"
18 sed 's/gcc/\$\{CC\}/g' -i Makefile
22 emake OPT
="${CFLAGS} ${LDFLAGS}" CC
="$(tc-getCC)" CXX
="$(tc-getCXX)" LD
="$(tc-getLD)"
27 install rc
"${D}/usr/bin/rc"
28 install re
"${D}/usr/bin/re"