wok-6.x diff libavif/receipt @ rev 24687
Up musl-libc (1.2.2) CVE-2020-28928
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 12 11:02:58 2022 +0000 (2022-03-12) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libavif/receipt Sat Mar 12 11:02:58 2022 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libavif" 1.7 +VERSION="0.9.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Library for encoding and decoding .avif files" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT Apache" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/AOMediaCodec/libavif" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +BUILD_DEPENDS="cmake" 1.17 + 1.18 +# What is the latest version available today? 1.19 +current_version() 1.20 +{ 1.21 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.22 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.23 +} 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + mkdir build_linux 1.29 + cd build_linux 1.30 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.31 + make DESTDIR=$DESTDIR install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/lib 1.38 + cp -a $install/usr/lib/lib*.so* $fs/usr/lib 1.39 +}