# HG changeset patch # User Pascal Bellard # Date 1226784969 0 # Node ID a1d91559b62c32996857960342295718fc1bfabe # Parent 94cd3ca7174d48b694d32416c08ecb766e21e8ba Add ffmpeg diff -r 94cd3ca7174d -r a1d91559b62c ffmpeg-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffmpeg-dev/receipt Sat Nov 15 21:36:09 2008 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="ffmpeg-dev" +VERSION="15261" +CATEGORY="development" +SHORT_DESC="Record, convert and stream audio and video, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://ffmpg.org/" +WANTED="ffmpeg" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 94cd3ca7174d -r a1d91559b62c ffmpeg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffmpeg/receipt Sat Nov 15 21:36:09 2008 +0000 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="ffmpeg" +VERSION="15261" +CATEGORY="multimedia" +SHORT_DESC="Record, convert and stream audio and video." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://ffmpg.org/" +BUILD_DEPENDS="subversion" + +# Référence externe extraite à la révision 27917. +# +# Révision 15261 extraite. + +# Rules to configure and make the package. +compile_rules() +{ + mkdir $src 2> /dev/null + cd $src + [ -f ffmpeg/configure ] || svn checkout -r $VERSION \ + svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg + cd ffmpeg + sed -i 's/pr -. -t/cat/' configure + ./configure --prefix=/usr --enable-gpl \ + --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 && + make && + make DESTDIR=$PWD/../_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/vhook $fs/usr/lib +} +