wok annotate re2c/receipt @ rev 25647

Backout salvador 10% speedup: crashes with large files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 26 12:15:51 2024 +0000 (7 months ago)
parents 0015d74c0b32
children
rev   line source
pankso@2822 1 # SliTaz package receipt.
pankso@2822 2
pankso@2822 3 PACKAGE="re2c"
Hans-G?nter@25264 4 VERSION="3.0"
pankso@2822 5 CATEGORY="system-tools"
Hans-G?nter@21835 6 TAGS="scanner"
Hans-G?nter@21835 7 SHORT_DESC="A tool for generating C-based recognisers from regular expressions."
pankso@2822 8 MAINTAINER="pankso@slitaz.org"
pascal@15601 9 LICENSE="PublicDomain"
Hans-G?nter@21835 10 WEB_SITE="https://re2c.org/"
Hans-G?nter@21835 11
Hans-G?nter@21836 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21836 13 WGET_URL="https://github.com/skvadrik/re2c/archive/$VERSION.tar.gz"
pankso@2822 14
pascal@21858 15 BUILD_DEPENDS="automake libtool"
pascal@21858 16
pascal@25601 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pankso@2822 24 # Rules to configure and make the package.
pankso@2822 25 compile_rules()
pankso@2822 26 {
pascal@21871 27 [ -d m4 ] || mkdir m4
Hans-G?nter@23611 28 ./autogen.sh &&
Hans-G?nter@23611 29 ./configure \
Hans-G?nter@23611 30 --prefix=/usr \
pankso@2822 31 $CONFIGURE_ARGS &&
pankso@2822 32 make &&
Hans-G?nter@25264 33 make install DESTDIR=$DESTDIR
pankso@2822 34 }
pankso@2822 35
pankso@2822 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2822 37 genpkg_rules()
pankso@2822 38 {
Hans-G?nter@25264 39 cook_copy_folders bin
pankso@2822 40 }