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