summaryrefslogtreecommitdiff
path: root/repo/core/python.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core/python.xibuild')
-rw-r--r--repo/core/python.xibuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/repo/core/python.xibuild b/repo/core/python.xibuild
new file mode 100644
index 0000000..06d0b44
--- /dev/null
+++ b/repo/core/python.xibuild
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+DEPS=(bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib)
+
+SOURCE=https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
+DESC="The Python development environment"
+
+build () {
+ ./configure --prefix=/usr --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=yes --enable-optimizations
+ make
+ make DESTDIR=$PKG_DEST install
+}