S=${WORKDIR}/libtecla
src_compile() {
# remove build directory from RPATH (see bug #119477)
sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \
die "Failed to adjust Makefile.rules"
econf || die
make || die
}