wok view giflossy/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 95f2591a685f
children 20ad21d5532c
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 }