wok diff byacc/receipt @ rev 25194

updated python-html2text (2017.10.4 -> 2019.8.11)
author Hans-G?nter Theisgen
date Wed Jul 13 10:52:13 2022 +0100 (2022-07-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/byacc/receipt	Wed Jul 13 10:52:13 2022 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="byacc"
     1.7 +VERSION="20220128"
     1.8 +CATEGORY="development"
     1.9 +TAGS="parser language"
    1.10 +SHORT_DESC="Berkeley Yacc variant."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="PublicDomain"
    1.13 +WEB_SITE="https://invisible-island.net/byacc/"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://invisible-mirror.net/archives/byacc/byacc-$VERSION.tgz"
    1.17 +
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.22 +	sed '/byacc-/!d;s|.*byacc-||;s|.t.*||' | sort -Vr | sed q
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	./configure $CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/usr	$fs/
    1.37 +	mv $fs/usr/bin/yacc $fs/usr/bin/byacc
    1.38 +}