summaryrefslogtreecommitdiffhomepage
path: root/vars/build.vars
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-10 10:31:15 -0500
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-12-10 18:04:32 +0000
commit3c533440816df8484bcad2f9b2db9c2b68d95819 (patch)
treed21249170b483ac8aeb682e49447b2399a091249 /vars/build.vars
parentcff33edcaf5274f5f1abc9c48b3b0a79a3740827 (diff)
downloadmidipix_build-3c533440816df8484bcad2f9b2db9c2b68d95819.tar.bz2
midipix_build-3c533440816df8484bcad2f9b2db9c2b68d95819.tar.xz
python2_host: use sbpython2 to cleanly build the local dependency python2.
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'vars/build.vars')
-rw-r--r--vars/build.vars9
1 files changed, 7 insertions, 2 deletions
diff --git a/vars/build.vars b/vars/build.vars
index b97c47e0..b6e1a985 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -356,8 +356,13 @@ HOST_PACKAGES_DEPS_PREFIX="${PREFIX}";
: ${PKG_EXPAT_HOST_URL:=http://download.openpkg.org/components/cache/expat/expat-${PKG_EXPAT_HOST_VERSION}.tar.bz2};
: ${PKG_PYTHON2_HOST_SHA256SUM:=304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8};
: ${PKG_PYTHON2_HOST_VERSION:=2.7.14};
-: ${PKG_PYTHON2_HOST_URL:=https://www.python.org/ftp/python/${PKG_PYTHON2_HOST_VERSION}/Python-${PKG_PYTHON2_HOST_VERSION}.tgz};
-: ${PKG_PYTHON2_HOST_CONFIGURE_ARGS_EXTRA:="--enable-ipv6 --enable-shared --enable-unicode=ucs4 --with-system-expat --with-system-ffi"};
+: ${PKG_PYTHON2_HOST_URL:="https://www.python.org/ftp/python/${PKG_PYTHON2_HOST_VERSION}/Python-${PKG_PYTHON2_HOST_VERSION}.tgz"};
+: ${PKG_PYTHON2_HOST_URLS_GIT:="sbpython2=${DEFAULT_GITROOT}/python/sbpython2@main"};
+: ${PKG_PYTHON2_HOST_BASE_DIR:=${BUILD_WORKDIR}/python2_host-host-${DEFAULT_TARGET}};
+: ${PKG_PYTHON2_HOST_BUILD_DIR:=build/python2};
+: ${PKG_PYTHON2_HOST_CONFIGURE:=build/sbpython2/configure};
+: ${PKG_PYTHON2_HOST_CONFIGURE_ARGS:="--source-dir=../../Python-${PKG_PYTHON2_HOST_VERSION} --prefix=${PREFIX}}"};
+: ${PKG_PYTHON2_HOST_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= EXEC_PREFIX= BINDIR=/bin SBINDIR=/sbin LIBDIR=/lib INCLUDEDIR=/include OLDINCLUDEDIR=/include MANDIR=/share/man DOCDIR=/share/doc LIBEXECDIR=/libexec"};
: ${PKG_GLIB_HOST_SHA256SUM:=fe22998ff0394ec31e6e5511c379b74011bee61a4421bca7fcab223dfbe0fc6a};
: ${PKG_GLIB_HOST_VERSION:=2.54.0};
: ${PKG_GLIB_HOST_URL:=http://ftp.gnome.org/pub/GNOME/sources/glib/${PKG_GLIB_HOST_VERSION%.[0-9]}/glib-${PKG_GLIB_HOST_VERSION}.tar.xz};