wok-6.x view ragel/receipt @ rev 25159

updated pv (1.6.6 -> 1.6.20)
author Hans-G?nter Theisgen
date Thu Jun 30 17:58:13 2022 +0100 (2022-06-30)
parents 6881cac6156d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ragel"
4 VERSION="6.10"
5 CATEGORY="development"
6 SHORT_DESC="Compiles executable finite state machines from regular languages."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.colm.net/open-source/ragel/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.colm.net/files/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }