mirror of
https://github.com/pygos/build.git
synced 2024-11-24 20:10:42 +01:00
21 lines
450 B
Text
Executable file
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"
|
|
}
|