wok view libavif/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | ecd613707114 |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }