wok-6.x view re2c/receipt @ rev 25298

updated scrot (0.8-12 -> 1.7)
author Hans-G?nter Theisgen
date Wed Jul 20 07:03:07 2022 +0100 (2022-07-20)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="re2c"
4 VERSION="3.0"
5 CATEGORY="system-tools"
6 TAGS="scanner"
7 SHORT_DESC="A tool for generating C-based recognisers from regular expressions."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="PublicDomain"
10 WEB_SITE="https://re2c.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/skvadrik/re2c/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="automake libtool"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 [ -d m4 ] || mkdir m4
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }