diff options
Diffstat (limited to 'templates/gawk/template')
| -rw-r--r-- | templates/gawk/template | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/gawk/template b/templates/gawk/template new file mode 100644 index 0000000..30fa0a6 --- /dev/null +++ b/templates/gawk/template @@ -0,0 +1,31 @@ +pkgname=gawk +version=5.4.0 +build_no=1 +upstream="${MIRROR_GNU_FTP}/gawk/gawk-${version}.tar.gz" + +makedepends=(autoconf make) +depends=(mpfr glibc gmp) + +function do_configure { + mkdir build/ + cd build/ + + conf_flags=( + --prefix=/usr + --host=${DISTRO_TC} + --disable-nls + --disable-rpath + ) + + ../configure "${conf_flags[@]}" +} + +function do_build { + cd build/ + make -j$(nproc) +} + +function do_install { + cd build/ + make DESTDIR=${DESTDIR} install +} |
