wok annotate gifsicle/receipt @ rev 24531
updated osip and osip-dev (5.1.1 -> 5.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 09:00:20 2022 +0100 (2022-02-23) |
parents | 3adbd5bf350f |
children | 0a4466bbdeb0 |
rev | line source |
---|---|
pascal@17418 | 1 # SliTaz package receipt. |
pascal@17418 | 2 |
pascal@17418 | 3 PACKAGE="gifsicle" |
Hans-G?nter@22846 | 4 VERSION="1.92" |
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 { |
pascal@17418 | 34 mkdir -p $fs/usr |
Hans-G?nter@22846 | 35 cp -a $install/usr/bin $fs/usr |
pascal@17418 | 36 } |