wok-current view ffmpeg/receipt @ rev 9407

I remove .la files that used full path in some packages. More will come.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Mar 28 20:13:28 2011 +0000 (2011-03-28)
parents 0b4cf0d9e1b5
children d1768332cee0
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.6.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="${WEB_SITE}releases/$TARBALL"
11 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format \
13 coreutils-file-special"
14 SUGGESTED="ffplay"
15 TAGS="audio video convert stream"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 # Fix gcc45 build.
23 patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || return 1
25 ./configure \
26 --prefix=/usr \
27 --enable-gpl \
28 --arch=i486 \
29 --cpu=i486 \
30 --enable-shared \
31 --enable-small \
32 --enable-pthreads \
33 --enable-postproc \
34 --enable-swscale \
35 --disable-mmx \
36 --disable-mmx2 \
37 --disable-ssse3 &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 # ffplay with it SDL dep go in a splited package
49 rm $fs/usr/bin/ffplay
50 }