wok-current view giflossy/receipt @ rev 25670

Update firmware-* packages to 20240220
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 21:41:14 2024 +0000 (8 months ago)
parents 95f2591a685f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="giflossy"
4 VERSION="1.82.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Lossy GIF compressor"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://kornel.ski/lossygif"
11 WGET_URL="https://github.com/kornelski/giflossy/archive/lossy/$VERSION.tar.gz"
12 PROVIDE="gifsicle"
14 BUILD_DEPENDS="autoconf automake"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 autoreconf -i
26 ./configure --prefix=/usr \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }