GLUED: renamed packages to rules, cfg_dir_packages to cfg_dir_rules.
This commit is contained in:
14
rules/python_host/common.bash
Normal file
14
rules/python_host/common.bash
Normal file
@@ -0,0 +1,14 @@
|
||||
version=\
|
||||
(
|
||||
"2.7.2"
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.python.org/ftp/python/${version}/Python-${version}.tar.bz2"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"ba7b2f11ffdbf195ee0d111b9455a5bd"
|
||||
)
|
20
rules/python_host/host.bash
Normal file
20
rules/python_host/host.bash
Normal file
@@ -0,0 +1,20 @@
|
||||
source $pkg_common
|
||||
|
||||
configure()
|
||||
{
|
||||
../Python-$version/configure \
|
||||
--prefix="${cfg_dir_toolchain}"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
# Parallel build not supported
|
||||
$cmd_make_single clean
|
||||
$cmd_make_single
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
# Parallel build not supported
|
||||
$cmd_make_single install
|
||||
}
|
Reference in New Issue
Block a user