SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "byacc"

# SliTaz package receipt.

PACKAGE="byacc"
VERSION="20220128"
CATEGORY="development"
TAGS="parser language"
SHORT_DESC="Berkeley Yacc variant."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="PublicDomain"
WEB_SITE="https://invisible-island.net/byacc/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://invisible-mirror.net/archives/byacc/byacc-$VERSION.tgz"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed '/byacc-/!d;s|.*byacc-||;s|.t.*||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs/
    mv $fs/usr/bin/yacc $fs/usr/bin/byacc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)