wok view libvpx/receipt @ rev 24946
updated nagios and nagios-dev (4.4.6 -> 4.4.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:20:04 2022 +0100 (2022-04-22) |
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 }