wok annotate libvpx/receipt @ rev 25669
Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 16:11:20 2024 +0000 (8 months ago) |
parents | 70cb1291f70b |
children |
rev | line source |
---|---|
slaxemulator@11326 | 1 # SliTaz package receipt. |
slaxemulator@11326 | 2 |
slaxemulator@11326 | 3 PACKAGE="libvpx" |
pascal@25669 | 4 VERSION="1.14.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 } |