1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-17 00:47:10 +01:00
build/pkg/gawk/build

22 lines
450 B
Text
Raw Normal View History

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"
}