wok view byacc/receipt @ rev 25037

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