wok-6.x view libavif/receipt @ rev 24776

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