wok-6.x diff libav/receipt @ rev 14253
readline: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 25 16:15:46 2013 +0100 (2013-03-25) |
parents | |
children | 01010da01a4a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libav/receipt Mon Mar 25 16:15:46 2013 +0100 1.3 @@ -0,0 +1,50 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libav" 1.7 +VERSION="0.6.1" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="clone of git://git.libav.org/libav" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPLv2 GPLv3 LGPLv2.1 LGPLv3" 1.12 +WEB_SITE="http://www.libav.org/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="git|git://github.com/andoma/libav.git" 1.15 +BRANCH="v$VERSION" 1.16 + 1.17 +DEPENDS="libsdl xorg-libXfixes zlib" 1.18 +BUILD_DEPENDS="git coreutils-file-format \ 1.19 +libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \ 1.20 +netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \ 1.21 +libvpx-dev x264 xvidcore-dev \ 1.22 +zlib-dev bzlib binutils " 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + ./configure \ 1.28 + --prefix=/usr \ 1.29 + --enable-shared \ 1.30 + --enable-gpl \ 1.31 + --enable-nonfree \ 1.32 + --enable-runtime-cpudetect \ 1.33 + --disable-doc \ 1.34 + --enable-postproc \ 1.35 + --enable-avfilter \ 1.36 + --enable-avfilter-lavf \ 1.37 + --enable-pthreads \ 1.38 + --enable-x11grab \ 1.39 + --disable-debug \ 1.40 + --arch=i486 \ 1.41 + --cpu=i486 && \ 1.42 + make && \ 1.43 + make install 1.44 +} 1.45 + 1.46 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 +genpkg_rules() 1.48 +{ 1.49 + mkdir -p $fs/usr/lib 1.50 + cp -a $install/usr/bin $fs/usr 1.51 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.52 + cp -a $install/usr/share $fs/usr 1.53 +}