wok-6.x annotate gifsicle/receipt @ rev 24614
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:04:14 2022 +0000 (2022-03-06) |
parents | 453c249b6219 |
children |
rev | line source |
---|---|
pascal@17418 | 1 # SliTaz package receipt. |
pascal@17418 | 2 |
pascal@17418 | 3 PACKAGE="gifsicle" |
Hans-G?nter@24601 | 4 VERSION="1.93" |
pascal@17418 | 5 CATEGORY="graphics" |
pascal@17418 | 6 SHORT_DESC="A command-line tool for creating, editing, and getting information about GIF." |
pascal@17418 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17418 | 8 LICENSE="GPL2" |
Hans-G?nter@22846 | 9 WEB_SITE="https://www.lcdf.org/gifsicle/" |
Hans-G?nter@22846 | 10 |
pascal@17418 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22846 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@17418 | 13 |
pascal@24425 | 14 # What is the latest version available today? |
pascal@24425 | 15 current_version() |
pascal@24425 | 16 { |
pascal@24425 | 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 18 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24425 | 19 } |
pascal@24425 | 20 |
pascal@17418 | 21 # Rules to configure and make the package. |
pascal@17418 | 22 compile_rules() |
pascal@17418 | 23 { |
Hans-G?nter@22846 | 24 ./configure \ |
Hans-G?nter@22846 | 25 --prefix=/usr \ |
pascal@17418 | 26 $CONFIGURE_ARGS && |
pascal@17418 | 27 make && |
pascal@17418 | 28 make DESTDIR=$DESTDIR install |
pascal@17418 | 29 } |
pascal@17418 | 30 |
pascal@17418 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17418 | 32 genpkg_rules() |
pascal@17418 | 33 { |
Hans-G?nter@24601 | 34 cook_copy_folders bin |
pascal@17418 | 35 } |