This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/python/cross.bash

26 lines
365 B
Bash
Raw Normal View History

source $pkg_common
2013-07-13 17:19:22 +01:00
configure()
{
echo "Post unpack is in $(pwd)"
echo "Pre-configuring by building an host python ... $(pwd) "
cd ../Python-$version/
./configure
}
build()
{
cd ../Python-$version
$cmd_make python Parser/pgen
}
host_install()
{
cd ../Python-$version
mv python hostpython
mv Parser/pgen Parser/hostpgen
$cmd_make distclean
}