wok-current view libvpx/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 (2 months ago)
parents 57983d268e2d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libvpx"
4 VERSION="1.12.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="The VP8 Codec SDK."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.webmproject.org/"
11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
12 WGET_URL="https://github.com/webmproject/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="coreutils-file-format diffutils gcc yasm"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --enable-vp8 \
28 --enable-runtime-cpu-detect \
29 --enable-postproc \
30 --enable-shared \
31 --enable-pic \
32 --disable-install-docs \
33 --disable-install-srcs &&
34 make &&
35 make install DIST_DIR=$DESTDIR/usr
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 cook_copy_files *.so*
43 }