wok view libvpx/receipt @ rev 25791
Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 23 13:27:53 2024 +0000 (4 weeks ago) |
parents | 70cb1291f70b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvpx"
4 VERSION="1.14.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="gcc83-lib-base glibc-base"
15 BUILD_DEPENDS="coreutils-file-format diffutils gcc83 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 export CC=gcc-83
27 export CXX=g++-83
29 ./configure \
30 --enable-vp8 \
31 --enable-runtime-cpu-detect \
32 --enable-postproc \
33 --enable-shared \
34 --enable-pic \
35 --disable-install-docs \
36 --disable-install-srcs &&
37 make &&
38 make install DIST_DIR=$DESTDIR/usr
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 cook_copy_files *.so*
46 }