wok annotate libavif/receipt @ rev 24908

updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author Hans-G?nter Theisgen
date Sat Apr 09 15:21:07 2022 +0100 (2022-04-09)
parents
children 7364ffdaaa60
rev   line source
pascal@24673 1 # SliTaz package receipt.
pascal@24673 2
pascal@24673 3 PACKAGE="libavif"
pascal@24673 4 VERSION="0.9.0"
pascal@24673 5 CATEGORY="multimedia"
pascal@24673 6 SHORT_DESC="Library for encoding and decoding .avif files"
pascal@24673 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24673 8 LICENSE="MIT Apache"
pascal@24673 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24673 10 WEB_SITE="https://github.com/AOMediaCodec/libavif"
pascal@24673 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@24673 12
pascal@24673 13 BUILD_DEPENDS="cmake"
pascal@24673 14
pascal@24673 15 # What is the latest version available today?
pascal@24673 16 current_version()
pascal@24673 17 {
pascal@24673 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24673 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24673 20 }
pascal@24673 21
pascal@24673 22 # Rules to configure and make the package.
pascal@24673 23 compile_rules()
pascal@24673 24 {
pascal@24673 25 mkdir build_linux
pascal@24673 26 cd build_linux
pascal@24673 27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@24673 28 make DESTDIR=$DESTDIR install
pascal@24673 29 }
pascal@24673 30
pascal@24673 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24673 32 genpkg_rules()
pascal@24673 33 {
pascal@24673 34 mkdir -p $fs/usr/lib
pascal@24673 35 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
pascal@24673 36 }