wok-current annotate ffmpeg/receipt @ rev 4285
ffmpeg: fix build path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 11:48:00 2009 +0200 (2009-09-26) |
parents | 2ec9b37c540b |
children | bfee99ebda41 |
rev | line source |
---|---|
pascal@1708 | 1 # SliTaz package receipt. |
pascal@1708 | 2 |
pascal@1708 | 3 PACKAGE="ffmpeg" |
pascal@4284 | 4 VERSION="0.5" |
pascal@1708 | 5 CATEGORY="multimedia" |
pascal@1708 | 6 SHORT_DESC="Record, convert and stream audio and video." |
pascal@1708 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
jozee@2675 | 8 WEB_SITE="http://ffmpeg.org/" |
pascal@4284 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@4284 | 10 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pascal@4285 | 11 DEPENDS="bzlib freetype libsdl imlib2 alsa-lib jack-audio-connection-kit zlib" |
pascal@4285 | 12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev bzlib-dev" |
pascal@1708 | 13 |
pascal@1708 | 14 # Rules to configure and make the package. |
pascal@1708 | 15 compile_rules() |
pascal@1708 | 16 { |
pascal@1708 | 17 cd $src |
pascal@1708 | 18 ./configure --prefix=/usr --enable-gpl \ |
jozee@2675 | 19 --arch=i486 --cpu=i486 \ |
jozee@2675 | 20 --enable-shared --enable-small \ |
jozee@2675 | 21 --enable-postproc \ |
jozee@2675 | 22 --disable-mmx --disable-mmx2 --disable-ssse3 && |
pascal@1708 | 23 make && |
pascal@4285 | 24 make DESTDIR=$PWD/_pkg install |
pascal@1708 | 25 } |
pascal@1708 | 26 |
pascal@1708 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 28 genpkg_rules() |
pascal@1708 | 29 { |
jozee@2680 | 30 mkdir -p $fs/usr/lib |
jozee@2675 | 31 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
pankso@3164 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@1708 | 33 } |