wok annotate libvpx/receipt @ rev 19346

Up tazpkg (913)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 22 09:58:35 2016 +0300 (2016-07-22)
parents 8d6f480bf664
children 6e8b1bcb30e2
rev   line source
slaxemulator@11326 1 # SliTaz package receipt.
slaxemulator@11326 2
slaxemulator@11326 3 PACKAGE="libvpx"
devl547@17787 4 VERSION="1.3.0"
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 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
slaxemulator@11326 11 WGET_URL="http://webm.googlecode.com/files/$TARBALL"
slaxemulator@11326 12
slaxemulator@11326 13 DEPENDS="glibc-base"
slaxemulator@11326 14 BUILD_DEPENDS="yasm coreutils-file-format"
slaxemulator@11326 15
slaxemulator@11326 16 # Rules to configure and make the package.
slaxemulator@11326 17 compile_rules()
slaxemulator@11326 18 {
domcox@14007 19 ./configure \
domcox@14007 20 --enable-vp8 \
slaxemulator@11326 21 --enable-runtime-cpu-detect \
domcox@12842 22 --enable-postproc \
slaxemulator@11326 23 --enable-shared \
slaxemulator@11326 24 --enable-pic \
slaxemulator@11326 25 --disable-install-docs \
domcox@14007 26 --disable-install-srcs &&
slaxemulator@11326 27 make && make DIST_DIR=$DESTDIR/usr install
slaxemulator@11326 28 }
slaxemulator@11326 29
slaxemulator@11326 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11326 31 genpkg_rules()
slaxemulator@11326 32 {
slaxemulator@11326 33 mkdir -p $fs/usr/lib
slaxemulator@11326 34 cp -a $install/usr/bin $fs/usr
domcox@14007 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11326 36 }