wok-next view 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 |
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="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.webmproject.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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 &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libvpx) copy @std;;
38 *-dev) copy @dev;;
39 esac
40 }