wok annotate libvpx/receipt @ rev 16089

merge
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 01:41:19 2014 +0100 (2014-03-16)
parents 6d82665228b2
children bbf6553c03a2
rev   line source
slaxemulator@11326 1 # SliTaz package receipt.
slaxemulator@11326 2
slaxemulator@11326 3 PACKAGE="libvpx"
domcox@12842 4 VERSION="1.1.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 }