wok-current view libvpx/receipt @ rev 11585

gecko-mediaplayer: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 08 17:32:11 2012 +0100 (2012-01-08)
parents
children e6cfdde3ac10
line source
1 # SliTaz package receipt.
3 PACKAGE="libvpx"
4 VERSION="0.9.7-p1"
5 CATEGORY="multimedia"
6 SHORT_DESC="The VP8 Codec SDK"
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://www.webmproject.org/"
9 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
10 WGET_URL="http://webm.googlecode.com/files/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="yasm coreutils-file-format"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --enable-vp8 \
19 --enable-runtime-cpu-detect \
20 --enable-shared \
21 --enable-postproc \
22 --enable-pic \
23 --disable-install-docs \
24 --disable-install-srcs &&
25 make && make DIST_DIR=$DESTDIR/usr install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }