summaryrefslogtreecommitdiff
path: root/repo/util/gawk.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/gawk.xibuild')
-rw-r--r--repo/util/gawk.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/util/gawk.xibuild b/repo/util/gawk.xibuild
index e06c4e3..7efbc0b 100644
--- a/repo/util/gawk.xibuild
+++ b/repo/util/gawk.xibuild
@@ -2,11 +2,15 @@
DEPS=(sh glibc mpfr)
-SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz
+PKG_VER=5.1.0
+SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-$PKG_VER.tar.xz
DESC="GNU's awk"
build () {
./configure --prefix=/usr
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}