wok-next diff libvpx/receipt @ rev 19972
Up copyq (3.1.1), qedit (2.8.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 17 19:29:54 2017 +0200 (2017-10-17) |
parents | bbf6553c03a2 |
children | 6e0553fe45e7 |
line diff
1.1 --- a/libvpx/receipt Sat Mar 14 21:46:19 2015 +0000 1.2 +++ b/libvpx/receipt Tue Oct 17 19:29:54 2017 +0200 1.3 @@ -1,36 +1,42 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libvpx" 1.8 -VERSION="1.3.0" 1.9 +VERSION="1.6.1" 1.10 CATEGORY="multimedia" 1.11 SHORT_DESC="The VP8 Codec SDK" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 WEB_SITE="http://www.webmproject.org/" 1.15 -TARBALL="$PACKAGE-v$VERSION.tar.bz2" 1.16 -WGET_URL="http://webm.googlecode.com/files/$TARBALL" 1.17 1.18 -DEPENDS="glibc-base" 1.19 -BUILD_DEPENDS="yasm coreutils-file-format" 1.20 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.21 +WGET_URL="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/$TARBALL" 1.22 + 1.23 +BUILD_DEPENDS="perl coreutils-file-output-full yasm" 1.24 +SPLIT="libvpx-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - ./configure \ 1.30 - --enable-vp8 \ 1.31 + # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libvpx.html 1.32 + sed -i 's/cp -p/cp/' build/make/Makefile && 1.33 + 1.34 + mkdir libvpx-build && 1.35 + cd libvpx-build && 1.36 + 1.37 + ../configure \ 1.38 + --prefix=/usr \ 1.39 --enable-runtime-cpu-detect \ 1.40 - --enable-postproc \ 1.41 --enable-shared \ 1.42 - --enable-pic \ 1.43 - --disable-install-docs \ 1.44 - --disable-install-srcs && 1.45 - make && make DIST_DIR=$DESTDIR/usr install 1.46 + --disable-static \ 1.47 + && 1.48 + make && make install 1.49 } 1.50 1.51 # Rules to gen a SliTaz package suitable for Tazpkg. 1.52 genpkg_rules() 1.53 { 1.54 - mkdir -p $fs/usr/lib 1.55 - cp -a $install/usr/bin $fs/usr 1.56 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.57 + case $PACKAGE in 1.58 + libvpx) copy @std;; 1.59 + *-dev) copy @dev;; 1.60 + esac 1.61 }