24 lines
708 B
Bash
24 lines
708 B
Bash
#!/bin/sh
|
|
name="gawk"
|
|
short_desc="GNU awk"
|
|
desc="GNU awk is the GNU implementation of the awk language"
|
|
category="lang"
|
|
version="5.3.0"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://www.gnu.org/software/gawk/"
|
|
master_site="ftp://ftp.gnu.org/gnu/gawk"
|
|
source_name="$name-$version.tar.xz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv3+")
|
|
|
|
build_dependencies=("devel/gmake" "lang/gcc")
|
|
run_dependencies=("system/glibc")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
./configure --prefix=/usr \
|
|
--program-prefix=g || exit 1
|
|
make -j$(nproc) || exit 1
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
|
|
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
|
|
} |