wok-6.x view libav/receipt @ rev 14568

Up xorg-libXrender (0.9.8), xorg-libXrandr (1.4.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 24 12:00:25 2013 +0200 (2013-05-24)
parents
children 01010da01a4a
line source
1 # SliTaz package receipt.
3 PACKAGE="libav"
4 VERSION="0.6.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="clone of git://git.libav.org/libav"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPLv2 GPLv3 LGPLv2.1 LGPLv3"
9 WEB_SITE="http://www.libav.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/andoma/libav.git"
12 BRANCH="v$VERSION"
14 DEPENDS="libsdl xorg-libXfixes zlib"
15 BUILD_DEPENDS="git coreutils-file-format \
16 libsdl-dev faac-dev faad2-dev lame-dev nut opencore-amr-dev openjpeg-dev \
17 netatalk-dev schroedinger-dev speex-dev libtheora-dev libvorbis-dev \
18 libvpx-dev x264 xvidcore-dev \
19 zlib-dev bzlib binutils "
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --enable-shared \
27 --enable-gpl \
28 --enable-nonfree \
29 --enable-runtime-cpudetect \
30 --disable-doc \
31 --enable-postproc \
32 --enable-avfilter \
33 --enable-avfilter-lavf \
34 --enable-pthreads \
35 --enable-x11grab \
36 --disable-debug \
37 --arch=i486 \
38 --cpu=i486 && \
39 make && \
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/share $fs/usr
50 }