wok-next annotate libvpx/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
rev   line source
al@19816 1 # SliTaz package receipt v2.
slaxemulator@11326 2
slaxemulator@11326 3 PACKAGE="libvpx"
al@20470 4 VERSION="1.7.0"
slaxemulator@11326 5 CATEGORY="multimedia"
slaxemulator@11326 6 SHORT_DESC="The VP8 Codec SDK"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15482 8 LICENSE="BSD"
al@20470 9 WEB_SITE="https://www.webmproject.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libvpx.html"
slaxemulator@11326 11
al@20470 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20470 13 WGET_URL="https://github.com/webmproject/libvpx/archive/v$VERSION/$TARBALL"
al@19816 14
al@20470 15 BUILD_DEPENDS="perl coreutils-file-output-full yasm diffutils"
al@21020 16 SPLIT="$PACKAGE-dev"
slaxemulator@11326 17
al@20470 18 compile_rules() {
al@20514 19 fix math
al@20470 20 sed -i 's/cp -p/cp/' build/make/Makefile
al@19816 21
al@20470 22 mkdir libvpx-build
al@20470 23 cd libvpx-build
al@19816 24
al@19816 25 ../configure \
al@19816 26 --prefix=/usr \
slaxemulator@11326 27 --enable-runtime-cpu-detect \
slaxemulator@11326 28 --enable-shared \
al@19816 29 --disable-static \
al@19816 30 &&
al@21020 31 make &&
al@21020 32 make install
slaxemulator@11326 33 }
slaxemulator@11326 34
al@20470 35 genpkg_rules() {
al@19816 36 case $PACKAGE in
al@19816 37 libvpx) copy @std;;
al@19816 38 *-dev) copy @dev;;
al@19816 39 esac
slaxemulator@11326 40 }