logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

pass1.sh (804B)


  1. # SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
  2. #
  3. # SPDX-License-Identifier: GPL-3.0-or-later
  4. src_prepare() {
  5. rm glib/glib/gunidecomp.h glib/glib/gunibreak.h glib/glib/gscripttable.h \
  6. glib/glib/gunichartables.h
  7. pushd glib/glib
  8. mkdir unidata
  9. mv ../../../*.txt unidata/
  10. perl gen-unicode-tables.pl -both 6.2.0 unidata
  11. perl gen-script-table.pl unidata/Scripts-6.2.0.txt > gscripttable.h
  12. popd
  13. AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fi
  14. }
  15. src_configure() {
  16. # We use internal glib because standalone glib library depends on
  17. # pkg-config and other software (python/meson) that we do not have.
  18. ./configure \
  19. --prefix="${PREFIX}" \
  20. --build=i386-unknown-linux-musl \
  21. --with-internal-glib
  22. }