# HG changeset patch # User Aleksej Bobylev # Date 1361919306 0 # Node ID 6350ac2e125fa655b39eaa5b3598a6e5f446700f # Parent d10ad51da31870c757d0a3daa66cfde88a2e87a0 Add libav diff -r d10ad51da318 -r 6350ac2e125f libav-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libav-dev/receipt Tue Feb 26 22:55:06 2013 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libav-dev" +VERSION="0.6.1" +CATEGORY="development" +SHORT_DESC="Development files for libav" +MAINTAINER="al.bobylev@gmail.com" +WEB_SITE="http://www.libav.org/" + +WANTED="libav" +DEPENDS="libav" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r d10ad51da318 -r 6350ac2e125f libav/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libav/receipt Tue Feb 26 22:55:06 2013 +0000 @@ -0,0 +1,50 @@ +# SliTaz package receipt. + +PACKAGE="libav" +VERSION="0.6.1" +CATEGORY="multimedia" +SHORT_DESC="clone of git://git.libav.org/libav" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPLv2 GPLv3 LGPLv2.1 LGPLv3" +WEB_SITE="http://www.libav.org/" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="git|git://github.com/andoma/libav.git" +BRANCH="v$VERSION" + +DEPENDS="libsdl xorg-libXfixes zlib" +BUILD_DEPENDS="git coreutils-file-format \ +libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \ +netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \ +libvpx-dev x264 xvidcore-dev \ +zlib-dev bzlib binutils " + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --enable-shared \ + --enable-gpl \ + --enable-nonfree \ + --enable-runtime-cpudetect \ + --disable-doc \ + --enable-postproc \ + --enable-avfilter \ + --enable-avfilter-lavf \ + --enable-pthreads \ + --enable-x11grab \ + --disable-debug \ + --arch=i486 \ + --cpu=i486 && \ + make && \ + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share $fs/usr +}