wok view libvpx/receipt @ rev 25605
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 10:59:53 2023 +0000 (16 months ago) |
parents | ac8ca9758df1 |
children | 7a8b9cd09212 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvpx"
4 VERSION="1.11.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 }