wok annotate libvpx/receipt @ rev 24642

updated hfsprescue (3.4 -> 3.5)
author Hans-G?nter Theisgen
date Wed Mar 09 17:03:53 2022 +0100 (2022-03-09)
parents ac8ca9758df1
children 7a8b9cd09212
rev   line source
slaxemulator@11326 1 # SliTaz package receipt.
slaxemulator@11326 2
slaxemulator@11326 3 PACKAGE="libvpx"
Hans-G?nter@24446 4 VERSION="1.11.0"
slaxemulator@11326 5 CATEGORY="multimedia"
Hans-G?nter@21334 6 SHORT_DESC="The VP8 Codec SDK."
slaxemulator@11326 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15482 8 LICENSE="BSD"
pascal@20671 9 WEB_SITE="https://www.webmproject.org/"
Hans-G?nter@21334 10
Hans-G?nter@21334 11 TARBALL="$PACKAGE-v$VERSION.tar.gz"
Hans-G?nter@21334 12 WGET_URL="https://github.com/webmproject/$PACKAGE/archive/v$VERSION.tar.gz"
slaxemulator@11326 13
Hans-G?nter@24446 14 DEPENDS="gcc83-lib-base glibc-base"
Hans-G?nter@24446 15 BUILD_DEPENDS="coreutils-file-format diffutils gcc83 yasm"
slaxemulator@11326 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
slaxemulator@11326 23 # Rules to configure and make the package.
slaxemulator@11326 24 compile_rules()
slaxemulator@11326 25 {
Hans-G?nter@24446 26 export CC=gcc-83
Hans-G?nter@24446 27 export CXX=g++-83
Hans-G?nter@24446 28
Hans-G?nter@21334 29 ./configure \
Hans-G?nter@21334 30 --enable-vp8 \
Hans-G?nter@21334 31 --enable-runtime-cpu-detect \
Hans-G?nter@21334 32 --enable-postproc \
Hans-G?nter@21334 33 --enable-shared \
Hans-G?nter@21334 34 --enable-pic \
Hans-G?nter@21334 35 --disable-install-docs \
domcox@14007 36 --disable-install-srcs &&
Hans-G?nter@24446 37 make &&
Hans-G?nter@24446 38 make install DIST_DIR=$DESTDIR/usr
slaxemulator@11326 39 }
slaxemulator@11326 40
slaxemulator@11326 41 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11326 42 genpkg_rules()
slaxemulator@11326 43 {
Hans-G?nter@24446 44 cook_copy_folders bin
Hans-G?nter@24446 45 cook_copy_files *.so*
slaxemulator@11326 46 }