Files
Astral/recipes/gawk
T
2024-09-08 22:15:31 -03:00

25 lines
503 B
Plaintext

name=gawk
revision=1
from_source=gawk
imagedeps="base-devel"
hostdeps="xgcc xbinutils"
deps="base"
build() {
cp -rp ${source_dir}/* .
./configure --host=x86_64-astral --prefix=${prefix} --disable-nls --disable-extensions
# we need to remove the test as gawk seems to autoexecute it
echo "all:" > test/Makefile
echo " echo ignore" >> test/Makefile
echo "install:" >> test/Makefile
echo " echo ignore" >> test/Makefile
make -j ${parallelism}
}
package() {
make install DESTDIR=${dest_dir}
}