wok annotate byacc/receipt @ rev 25347

updated tcl and tcl-dev (8.6.10 -> 8.6.12)
author Hans-G?nter Theisgen
date Mon Jul 25 09:37:49 2022 +0100 (2022-07-25)
parents
children
rev   line source
pascal@24605 1 # SliTaz package receipt.
pascal@24605 2
pascal@24605 3 PACKAGE="byacc"
pascal@24605 4 VERSION="20220128"
pascal@24605 5 CATEGORY="development"
pascal@24605 6 TAGS="parser language"
pascal@24605 7 SHORT_DESC="Berkeley Yacc variant."
pascal@24605 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24605 9 LICENSE="PublicDomain"
pascal@24605 10 WEB_SITE="https://invisible-island.net/byacc/"
pascal@24605 11
pascal@24605 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24605 13 WGET_URL="https://invisible-mirror.net/archives/byacc/byacc-$VERSION.tgz"
pascal@24605 14
pascal@24605 15 # What is the latest version available today?
pascal@24605 16 current_version()
pascal@24605 17 {
pascal@24605 18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24605 19 sed '/byacc-/!d;s|.*byacc-||;s|.t.*||' | sort -Vr | sed q
pascal@24605 20 }
pascal@24605 21
pascal@24605 22 # Rules to configure and make the package.
pascal@24605 23 compile_rules()
pascal@24605 24 {
pascal@24605 25 ./configure $CONFIGURE_ARGS &&
pascal@24605 26 make &&
pascal@24605 27 make install
pascal@24605 28 }
pascal@24605 29
pascal@24605 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24605 31 genpkg_rules()
pascal@24605 32 {
pascal@24605 33 cp -a $install/usr $fs/
pascal@24605 34 mv $fs/usr/bin/yacc $fs/usr/bin/byacc
pascal@24605 35 }