# SliTaz package receipt. PACKAGE="giflossy" VERSION="1.82.1" CATEGORY="graphics" SHORT_DESC="Lossy GIF compressor" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://kornel.ski/lossygif" WGET_URL="https://github.com/kornelski/giflossy/archive/lossy/$VERSION.tar.gz" PROVIDE="gifsicle" BUILD_DEPENDS="autoconf automake" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { autoreconf -i ./configure --prefix=/usr \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }