2020-04-16 15:06:38 +02:00
|
|
|
VERSION="5.1.0"
|
2018-01-15 01:41:20 +01:00
|
|
|
SRCDIR="gawk-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/gawk/"
|
2020-04-16 15:06:38 +02:00
|
|
|
SHA256SUM="cf5fea4ac5665fd5171af4716baab2effc76306a9572988d5ba1078f196382bd"
|
2018-02-15 23:47:54 +01:00
|
|
|
DEPENDS="toolchain"
|
2019-02-27 14:22:03 +01:00
|
|
|
SUBPKG="gawk gawk-dev"
|
2018-01-15 01:41:20 +01:00
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1"
|
2018-01-15 01:41:20 +01:00
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-01-15 01:41:20 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-07-07 16:17:16 +02:00
|
|
|
check_update_simple "$URL" "gawk" "tar.xz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|