wok-next annotate 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 |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
slaxemulator@11326 | 2 |
slaxemulator@11326 | 3 PACKAGE="libvpx" |
al@19816 | 4 VERSION="1.6.1" |
slaxemulator@11326 | 5 CATEGORY="multimedia" |
slaxemulator@11326 | 6 SHORT_DESC="The VP8 Codec SDK" |
slaxemulator@11326 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15482 | 8 LICENSE="BSD" |
slaxemulator@11326 | 9 WEB_SITE="http://www.webmproject.org/" |
slaxemulator@11326 | 10 |
al@19816 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19816 | 12 WGET_URL="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/$TARBALL" |
al@19816 | 13 |
al@19816 | 14 BUILD_DEPENDS="perl coreutils-file-output-full yasm" |
al@19816 | 15 SPLIT="libvpx-dev" |
slaxemulator@11326 | 16 |
slaxemulator@11326 | 17 # Rules to configure and make the package. |
slaxemulator@11326 | 18 compile_rules() |
slaxemulator@11326 | 19 { |
al@19816 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libvpx.html |
al@19816 | 21 sed -i 's/cp -p/cp/' build/make/Makefile && |
al@19816 | 22 |
al@19816 | 23 mkdir libvpx-build && |
al@19816 | 24 cd libvpx-build && |
al@19816 | 25 |
al@19816 | 26 ../configure \ |
al@19816 | 27 --prefix=/usr \ |
slaxemulator@11326 | 28 --enable-runtime-cpu-detect \ |
slaxemulator@11326 | 29 --enable-shared \ |
al@19816 | 30 --disable-static \ |
al@19816 | 31 && |
al@19816 | 32 make && make install |
slaxemulator@11326 | 33 } |
slaxemulator@11326 | 34 |
slaxemulator@11326 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11326 | 36 genpkg_rules() |
slaxemulator@11326 | 37 { |
al@19816 | 38 case $PACKAGE in |
al@19816 | 39 libvpx) copy @std;; |
al@19816 | 40 *-dev) copy @dev;; |
al@19816 | 41 esac |
slaxemulator@11326 | 42 } |