wok annotate re2c/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents df145f07a39e
children 0015d74c0b32
rev   line source
pankso@2822 1 # SliTaz package receipt.
pankso@2822 2
pankso@2822 3 PACKAGE="re2c"
Hans-G?nter@23611 4 VERSION="1.3"
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 &&
pascal@15601 32 make DESTDIR=$DESTDIR install
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 {
pankso@2822 38 mkdir -p $fs/usr
Hans-G?nter@23611 39 cp -a $install/usr/bin $fs/usr
pankso@2822 40 }