bf96e50e44
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
18 lines
977 B
Bash
18 lines
977 B
Bash
py_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
|
|
sed -e "/test(i/ s|dirname|'python${py_ver}/site-packages/waf'|" -i waf-light
|
|
head -n 30 waf | tail -n 28 | sed -e 's/# //g; s/"""//g' > LICENSE
|
|
./waf-light \
|
|
configure --prefix=/usr \
|
|
build --make-waf
|
|
sed -i '/^#==>$/,/^#<==$/d' waf
|
|
install -vDm 755 waf -t "$DESTDIR/usr/bin"
|
|
install -vDm 644 wscript -t "$DESTDIR/usr/share/waf/"
|
|
# installing, byte-compiling waflib and stripping DESTDIR from it
|
|
install -vDm 644 waflib/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/"
|
|
install -vDm 644 waflib/Tools/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/Tools/"
|
|
install -vDm 644 waflib/extras/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/extras/"
|
|
python -m compileall -d "/usr/lib/python$py_ver" "$DESTDIR/usr/lib/python$py_ver/"
|
|
python -O -m compileall -d "/usr/lib/python$py_ver" "$DESTDIR/usr/lib/python$py_ver/"
|
|
|
|
|