wok view libav/receipt @ rev 14163

mtop: clean up receipt
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Mar 07 19:05:43 2013 -0800 (2013-03-07)
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 }