wok-next annotate libvpx/receipt @ rev 12724
fox: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 12:54:08 2012 +0200 (2012-05-05) |
parents | |
children | e6cfdde3ac10 |
rev | line source |
---|---|
slaxemulator@11326 | 1 # SliTaz package receipt. |
slaxemulator@11326 | 2 |
slaxemulator@11326 | 3 PACKAGE="libvpx" |
slaxemulator@11326 | 4 VERSION="0.9.7-p1" |
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 { |
slaxemulator@11326 | 18 ./configure --enable-vp8 \ |
slaxemulator@11326 | 19 --enable-runtime-cpu-detect \ |
slaxemulator@11326 | 20 --enable-shared \ |
slaxemulator@11326 | 21 --enable-postproc \ |
slaxemulator@11326 | 22 --enable-pic \ |
slaxemulator@11326 | 23 --disable-install-docs \ |
slaxemulator@11326 | 24 --disable-install-srcs && |
slaxemulator@11326 | 25 make && make DIST_DIR=$DESTDIR/usr install |
slaxemulator@11326 | 26 } |
slaxemulator@11326 | 27 |
slaxemulator@11326 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11326 | 29 genpkg_rules() |
slaxemulator@11326 | 30 { |
slaxemulator@11326 | 31 mkdir -p $fs/usr/lib |
slaxemulator@11326 | 32 cp -a $install/usr/bin $fs/usr |
slaxemulator@11326 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11326 | 34 } |