wok view libvpx/receipt @ rev 24187
updated perl-compress-raw-zlib (2.093 -> 2.101)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:17:26 2021 +0100 (2021-12-31) |
parents | af9d026c8a96 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvpx"
4 VERSION="1.8.2"
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 yasm"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 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 -j 1 &&
35 make DIST_DIR=$DESTDIR/usr install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }