wok-current annotate apngopt/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (6 months ago)
parents ad0bc3efbf37
children
rev   line source
al@14737 1 # SliTaz package receipt.
al@14737 2
al@14737 3 PACKAGE="apngopt"
Hans-G?nter@22490 4 VERSION="1.4"
al@14737 5 CATEGORY="utilities"
Hans-G?nter@22490 6 SHORT_DESC="Optimizes existing APNG animation."
al@14737 7 MAINTAINER="al.bobylev@gmail.com"
al@14737 8 LICENSE="zlib/libpng"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/apng/"
Hans-G?nter@22490 10
al@14737 11 TARBALL="$PACKAGE-$VERSION-src.zip"
al@14737 12 WGET_URL="$SF_MIRROR/apng/APNG_Optimizer/$VERSION/$TARBALL"
al@14737 13
al@14737 14 DEPENDS="zlib"
al@14737 15 BUILD_DEPENDS="zlib-dev"
al@14737 16
pascal@24340 17 # What is the latest version available today?
pascal@24340 18 current_version()
pascal@24340 19 {
pascal@24340 20 wget -O - https://sourceforge.net/projects/apng/files/APNG_Optimizer/ 2>/dev/null | \
pascal@24340 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 22 sed '/scope="row/!d;/opt-/!d;/src/!d;s|.*apngopt-||;s|-src.*||;q'
pascal@24340 23 }
pascal@24340 24
al@14737 25 # Rules to configure and make the package.
al@14737 26 compile_rules()
al@14737 27 {
al@14737 28 make
al@14737 29 }
al@14737 30
al@14737 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14737 32 genpkg_rules()
al@14737 33 {
al@14737 34 mkdir -p $fs/usr/bin
Hans-G?nter@22490 35 cp -a $src/$PACKAGE $fs/usr/bin
al@14737 36 }