wok-current rev 14123

Add libav
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 26 22:55:06 2013 +0000 (2013-02-26)
parents d10ad51da318
children ad01f9bff3ea
files libav-dev/receipt libav/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libav-dev/receipt	Tue Feb 26 22:55:06 2013 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libav-dev"
     1.7 +VERSION="0.6.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Development files for libav"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://www.libav.org/"
    1.12 +
    1.13 +WANTED="libav"
    1.14 +DEPENDS="libav"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $install/usr/include $fs/usr
    1.21 +	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libav/receipt	Tue Feb 26 22:55:06 2013 +0000
     2.3 @@ -0,0 +1,50 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libav"
     2.7 +VERSION="0.6.1"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="clone of git://git.libav.org/libav"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPLv2 GPLv3 LGPLv2.1 LGPLv3"
    2.12 +WEB_SITE="http://www.libav.org/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WGET_URL="git|git://github.com/andoma/libav.git"
    2.15 +BRANCH="v$VERSION"
    2.16 +
    2.17 +DEPENDS="libsdl xorg-libXfixes zlib"
    2.18 +BUILD_DEPENDS="git coreutils-file-format \
    2.19 +libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
    2.20 +netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
    2.21 +libvpx-dev x264 xvidcore-dev \
    2.22 +zlib-dev bzlib binutils "
    2.23 +
    2.24 +# Rules to configure and make the package.
    2.25 +compile_rules()
    2.26 +{
    2.27 +	./configure \
    2.28 +		--prefix=/usr \
    2.29 +		--enable-shared \
    2.30 +		--enable-gpl \
    2.31 +		--enable-nonfree \
    2.32 +		--enable-runtime-cpudetect \
    2.33 +		--disable-doc \
    2.34 +		--enable-postproc \
    2.35 +		--enable-avfilter \
    2.36 +		--enable-avfilter-lavf \
    2.37 +		--enable-pthreads \
    2.38 +		--enable-x11grab \
    2.39 +		--disable-debug \
    2.40 +		--arch=i486 \
    2.41 +		--cpu=i486 && \
    2.42 +	make && \
    2.43 +	make install
    2.44 +}
    2.45 +
    2.46 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.47 +genpkg_rules()
    2.48 +{
    2.49 +	mkdir -p $fs/usr/lib
    2.50 +	cp -a $install/usr/bin $fs/usr
    2.51 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.52 +	cp -a $install/usr/share $fs/usr
    2.53 +}