Files
axe-os/stage/toolchain/gawk.bash
2026-03-25 16:26:52 +02:00

18 lines
336 B
Bash

fetch $GAWK_URL
cd "$SOURCES" && tar xf gawk-$GAWK_VERSION.tar.xz && cd gawk-$GAWK_VERSION
sed -i 's/extras//' Makefile.in
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) \
--disable-nls \
--silent \
--quiet
make && make DESTDIR="$SYSROOT" install
cd "$SOURCES" && rm -rf gawk-$GAWK_VERSION