1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-24 20:10:42 +01:00
build/pkg/gawk/build
David Oberhollenzer 0874659fda Bump gawk version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00

21 lines
450 B
Text
Executable file

VERSION="5.1.0"
SRCDIR="gawk-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/gawk/"
SHA256SUM="cf5fea4ac5665fd5171af4716baab2effc76306a9572988d5ba1078f196382bd"
DEPENDS="toolchain"
SUBPKG="gawk gawk-dev"
build() {
run_configure "$1"
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "gawk" "tar.xz"
}