wok-next annotate libvpx/receipt @ rev 15110

Add some LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 18:02:00 2013 +0000 (2013-08-14)
parents e6cfdde3ac10
children 8d6f480bf664
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"
slaxemulator@11326 8 WEB_SITE="http://www.webmproject.org/"
slaxemulator@11326 9 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
slaxemulator@11326 10 WGET_URL="http://webm.googlecode.com/files/$TARBALL"
slaxemulator@11326 11
slaxemulator@11326 12 DEPENDS="glibc-base"
slaxemulator@11326 13 BUILD_DEPENDS="yasm coreutils-file-format"
slaxemulator@11326 14
slaxemulator@11326 15 # Rules to configure and make the package.
slaxemulator@11326 16 compile_rules()
slaxemulator@11326 17 {
domcox@14007 18 ./configure \
domcox@14007 19 --enable-vp8 \
slaxemulator@11326 20 --enable-runtime-cpu-detect \
domcox@12842 21 --enable-postproc \
slaxemulator@11326 22 --enable-shared \
slaxemulator@11326 23 --enable-pic \
slaxemulator@11326 24 --disable-install-docs \
domcox@14007 25 --disable-install-srcs &&
slaxemulator@11326 26 make && make DIST_DIR=$DESTDIR/usr install
slaxemulator@11326 27 }
slaxemulator@11326 28
slaxemulator@11326 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11326 30 genpkg_rules()
slaxemulator@11326 31 {
slaxemulator@11326 32 mkdir -p $fs/usr/lib
slaxemulator@11326 33 cp -a $install/usr/bin $fs/usr
domcox@14007 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11326 35 }