wok-next view libvpx/receipt @ rev 20017

Add speexdsp, up speex, pulseaudio & pavucontrol.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 03:28:23 2017 +0300 (2017-10-22)
parents bbf6553c03a2
children 6e0553fe45e7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvpx"
4 VERSION="1.6.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="The VP8 Codec SDK"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.webmproject.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/$TARBALL"
14 BUILD_DEPENDS="perl coreutils-file-output-full yasm"
15 SPLIT="libvpx-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libvpx.html
21 sed -i 's/cp -p/cp/' build/make/Makefile &&
23 mkdir libvpx-build &&
24 cd libvpx-build &&
26 ../configure \
27 --prefix=/usr \
28 --enable-runtime-cpu-detect \
29 --enable-shared \
30 --disable-static \
31 &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 libvpx) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }