wok view byacc/receipt @ rev 25108
Fix open-iscsi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 23 20:48:12 2022 +0000 (2022-06-23) |
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 }