wok-next view libvpx/receipt @ rev 20514

ardour, gdal, icu, js, jsoncpp, libvpx, llvm, mesa, minetest, opencv, qt5, scilab, webkit2gtk, webkitgtk, xalan-c: remove std.patch, use `fix math`.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 16:15:19 2018 +0200 (2018-03-21)
parents 6e0553fe45e7
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvpx"
4 VERSION="1.7.0"
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libvpx.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/webmproject/libvpx/archive/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="perl coreutils-file-output-full yasm diffutils"
16 SPLIT="libvpx-dev"
18 compile_rules() {
19 fix math
20 sed -i 's/cp -p/cp/' build/make/Makefile
22 mkdir libvpx-build
23 cd libvpx-build
25 ../configure \
26 --prefix=/usr \
27 --enable-runtime-cpu-detect \
28 --enable-shared \
29 --disable-static \
30 &&
31 make && make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libvpx) copy @std;;
37 *-dev) copy @dev;;
38 esac
39 }