wok-4.x view libvpx/receipt @ rev 11326
Add libvpx.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 17 20:44:01 2011 +0000 (2011-11-17) |
parents | |
children |
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 }