wok-next view libvpx/receipt @ rev 20978
Small improvements
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:34:11 2018 +0300 (2018-09-27) |
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 }