wok view libav/receipt @ rev 21747

tazboot: spare 2k
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 14 17:17:16 2019 +0200 (15 months ago)
parents 01010da01a4a
children ebfc45d562c1
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="GPL2 GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://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 }