18 lines
336 B
Bash
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 |