wok-current annotate libvpx/receipt @ rev 24263
updated perl-time-hires (1.9760 -> 1.9764)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:20:35 2022 +0100 (2022-01-02) |
parents | af9d026c8a96 |
children | ac8ca9758df1 |
rev | line source |
---|---|
slaxemulator@11326 | 1 # SliTaz package receipt. |
slaxemulator@11326 | 2 |
slaxemulator@11326 | 3 PACKAGE="libvpx" |
Hans-G?nter@23119 | 4 VERSION="1.8.2" |
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 |
slaxemulator@11326 | 14 DEPENDS="glibc-base" |
Hans-G?nter@21335 | 15 BUILD_DEPENDS="coreutils-file-format diffutils yasm" |
slaxemulator@11326 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 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@21334 | 26 ./configure \ |
Hans-G?nter@21334 | 27 --enable-vp8 \ |
Hans-G?nter@21334 | 28 --enable-runtime-cpu-detect \ |
Hans-G?nter@21334 | 29 --enable-postproc \ |
Hans-G?nter@21334 | 30 --enable-shared \ |
Hans-G?nter@21334 | 31 --enable-pic \ |
Hans-G?nter@21334 | 32 --disable-install-docs \ |
domcox@14007 | 33 --disable-install-srcs && |
Hans-G?nter@21334 | 34 make -j 1 && |
Hans-G?nter@21334 | 35 make DIST_DIR=$DESTDIR/usr install |
slaxemulator@11326 | 36 } |
slaxemulator@11326 | 37 |
slaxemulator@11326 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11326 | 39 genpkg_rules() |
slaxemulator@11326 | 40 { |
slaxemulator@11326 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@21334 | 42 |
Hans-G?nter@21334 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21334 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11326 | 45 } |