wok-current view giflossy/receipt @ rev 25709
Rework mesa-dri to use symlink (85% size free), thanks alanyih
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 03 16:29:38 2024 +0000 (6 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 }