wok annotate re2c/receipt @ rev 25264

updated re2c (1.3 -> 3.0)
author Hans-G?nter Theisgen
date Fri Jul 15 08:59:55 2022 +0100 (22 months ago)
parents 5ea0ce1cecc0
children 0262035dc1e7
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@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pankso@2822 23 # Rules to configure and make the package.
pankso@2822 24 compile_rules()
pankso@2822 25 {
pascal@21871 26 [ -d m4 ] || mkdir m4
Hans-G?nter@23611 27 ./autogen.sh &&
Hans-G?nter@23611 28 ./configure \
Hans-G?nter@23611 29 --prefix=/usr \
pankso@2822 30 $CONFIGURE_ARGS &&
pankso@2822 31 make &&
Hans-G?nter@25264 32 make install DESTDIR=$DESTDIR
pankso@2822 33 }
pankso@2822 34
pankso@2822 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2822 36 genpkg_rules()
pankso@2822 37 {
Hans-G?nter@25264 38 cook_copy_folders bin
pankso@2822 39 }