From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 01:23:51 +0000 Subject: restructured repo system --- repo/system/python.xibuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/system/python.xibuild (limited to 'repo/system/python.xibuild') diff --git a/repo/system/python.xibuild b/repo/system/python.xibuild new file mode 100644 index 0000000..7e71733 --- /dev/null +++ b/repo/system/python.xibuild @@ -0,0 +1,17 @@ +#!/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 --with-ssl --with-requests + make + make DESTDIR=$PKG_DEST install +} + +package () { + ln -s /usr/bin/python3 $PKG_DEST/usr/bin/python + ln -s /usr/bin/pip3 $PKG_DEST/usr/bin/pip +} -- cgit v1.2.1