wok annotate giflossy/receipt @ rev 25133
updated novnc (201111004 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 07:55:42 2022 +0100 (2022-06-29) |
parents | 95f2591a685f |
children | 20ad21d5532c |
rev | line source |
---|---|
pascal@20257 | 1 # SliTaz package receipt. |
pascal@20257 | 2 |
pascal@20257 | 3 PACKAGE="giflossy" |
pascal@20257 | 4 VERSION="1.82.1" |
pascal@20257 | 5 CATEGORY="graphics" |
pascal@20257 | 6 SHORT_DESC="Lossy GIF compressor" |
pascal@20257 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20257 | 8 LICENSE="GPL2" |
pascal@20257 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20257 | 10 WEB_SITE="https://kornel.ski/lossygif" |
pascal@20257 | 11 WGET_URL="https://github.com/kornelski/giflossy/archive/lossy/$VERSION.tar.gz" |
pascal@20258 | 12 PROVIDE="gifsicle" |
pascal@20257 | 13 |
pascal@20257 | 14 BUILD_DEPENDS="autoconf automake" |
pascal@20257 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@20257 | 22 # Rules to configure and make the package. |
pascal@20257 | 23 compile_rules() |
pascal@20257 | 24 { |
pascal@20257 | 25 autoreconf -i |
pascal@20257 | 26 ./configure --prefix=/usr \ |
pascal@20257 | 27 --mandir=/usr/share/man \ |
pascal@20257 | 28 $CONFIGURE_ARGS && |
pascal@20257 | 29 make && |
pascal@20257 | 30 make DESTDIR=$DESTDIR install |
pascal@20257 | 31 } |
pascal@20257 | 32 |
pascal@20257 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20257 | 34 genpkg_rules() |
pascal@20257 | 35 { |
pascal@20258 | 36 mkdir -p $fs/usr |
pascal@20258 | 37 cp -a $install/usr/bin $fs/usr |
pascal@20257 | 38 } |