mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
20 lines
504 B
Plaintext
20 lines
504 B
Plaintext
name=pyqt6-sip
|
|
revision=2
|
|
from_source=pyqt6-sip
|
|
imagedeps="build-essential python3"
|
|
hostdeps="xgcc xbinutils python"
|
|
deps="base python"
|
|
|
|
build() {
|
|
cp -rp "${source_dir}"/* .
|
|
}
|
|
|
|
package() {
|
|
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__astral_ \
|
|
PYTHONPATH=${sysroot_dir}/${prefix}/lib/python3.10 \
|
|
CC=x86_64-astral-gcc \
|
|
CFLAGS="-I${sysroot_dir}/${prefix}/include/python3.10" \
|
|
LDSHARED="x86_64-astral-gcc -shared" \
|
|
/usr/bin/env python3 setup.py install --prefix=${prefix} --root=${dest_dir}
|
|
}
|