alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

abuild (612B)


      1 name=python
      2 version=3.13.7
      3 release=1
      4 source="https://www.$name.org/ftp/$name/$version/Python-$version.tar.xz
      5 	musl-pgo-tests.patch"
      6 
      7 build() {
      8 	# musl workaround
      9 	export ac_cv_file__dev_ptmx=yes
     10 	export ac_cv_file__dev_ptc=no
     11 
     12 	./configure \
     13 		--prefix=/usr \
     14 		--sysconfdir=/etc \
     15 		--localstatedir=/var \
     16 		--libdir=/usr/lib \
     17 		--infodir=/usr/share/info \
     18 		--mandir=/usr/share/man \
     19 		--without-ensurepip \
     20 		--enable-shared \
     21 		--with-system-expat \
     22 		--enable-optimization
     23 	make
     24 	make DESTDIR=$PKG altinstall
     25 	ln -s python${version%.*} $PKG/usr/bin/python
     26 	ln -s python${version%.*} $PKG/usr/bin/python3
     27 }