wok-6.x annotate libav/receipt @ rev 15967

glib: an attemp to cross compile it to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 17:36:28 2014 +0100 (2014-02-24)
parents 6350ac2e125f
children a78610b2eb47
rev   line source
al@14123 1 # SliTaz package receipt.
al@14123 2
al@14123 3 PACKAGE="libav"
al@14123 4 VERSION="0.6.1"
al@14123 5 CATEGORY="multimedia"
al@14123 6 SHORT_DESC="clone of git://git.libav.org/libav"
al@14123 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
al@14123 9 WEB_SITE="http://www.libav.org/"
al@14123 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14123 11 WGET_URL="git|git://github.com/andoma/libav.git"
al@14123 12 BRANCH="v$VERSION"
al@14123 13
al@14123 14 DEPENDS="libsdl xorg-libXfixes zlib"
al@14123 15 BUILD_DEPENDS="git coreutils-file-format \
al@14123 16 libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
al@14123 17 netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
al@14123 18 libvpx-dev x264 xvidcore-dev \
al@14123 19 zlib-dev bzlib binutils "
al@14123 20
al@14123 21 # Rules to configure and make the package.
al@14123 22 compile_rules()
al@14123 23 {
al@14123 24 ./configure \
al@14123 25 --prefix=/usr \
al@14123 26 --enable-shared \
al@14123 27 --enable-gpl \
al@14123 28 --enable-nonfree \
al@14123 29 --enable-runtime-cpudetect \
al@14123 30 --disable-doc \
al@14123 31 --enable-postproc \
al@14123 32 --enable-avfilter \
al@14123 33 --enable-avfilter-lavf \
al@14123 34 --enable-pthreads \
al@14123 35 --enable-x11grab \
al@14123 36 --disable-debug \
al@14123 37 --arch=i486 \
al@14123 38 --cpu=i486 && \
al@14123 39 make && \
al@14123 40 make install
al@14123 41 }
al@14123 42
al@14123 43 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14123 44 genpkg_rules()
al@14123 45 {
al@14123 46 mkdir -p $fs/usr/lib
al@14123 47 cp -a $install/usr/bin $fs/usr
al@14123 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14123 49 cp -a $install/usr/share $fs/usr
al@14123 50 }