1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools toolchain-funcs
8 DESCRIPTION="Foreign function interface for bash"
9 HOMEPAGE="http://ctypes.sh/"
10 SRC_URI="https://github.com/taviso/${PN/-/.}/releases/download/v${PV}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
16 RDEPEND="virtual/libffi
20 app-shells/bash[plugins]"
25 "${FILESDIR}/${P}-makefile-fix.patch"
36 LD_LIBRARY_PATH="${S}/src/.libs" \
37 make CC="$(tc-getCC)" || die "make check failed"