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

updated perl-datetime-timezone (1.93 -> 2.38)
author Hans-G?nter Theisgen
date Mon Mar 30 15:07:38 2020 +0100 (2020-03-30)
parents a78610b2eb47
children 095836df71b7
rev   line source
al@14123 1 # SliTaz package receipt.
al@14123 2
al@14123 3 PACKAGE="libav"
Hans-G?nter@23010 4 VERSION="0.6.6"
al@14123 5 CATEGORY="multimedia"
Hans-G?nter@23010 6 SHORT_DESC="Audio and video conversion library."
al@14123 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2 GPL3 LGPL2.1 LGPL3"
pascal@20669 9 WEB_SITE="https://www.libav.org/"
Hans-G?nter@23010 10
Hans-G?nter@23010 11 #TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@23010 12 #WGET_URL="git|git://github.com/andoma/libav.git"
Hans-G?nter@23010 13 #BRANCH="v$VERSION"
Hans-G?nter@23010 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23010 15 WGET_URL="${WEB_SITE}releases/$TARBALL"
al@14123 16
al@14123 17 DEPENDS="libsdl xorg-libXfixes zlib"
Hans-G?nter@23010 18 BUILD_DEPENDS="binutils bzlib coreutils-file-format faac-dev
Hans-G?nter@23010 19 faad2-dev lame-dev libsdl-dev libtheora-dev libvorbis-dev
Hans-G?nter@23010 20 libvpx-dev netatalk-dev nut opencore-amr-dev openjpeg-dev
Hans-G?nter@23010 21 schroedinger-dev speex-dev x264 xvidcore-dev zlib-dev"
al@14123 22
al@14123 23 # Rules to configure and make the package.
al@14123 24 compile_rules()
al@14123 25 {
Hans-G?nter@23010 26 ./configure \
Hans-G?nter@23010 27 --prefix=/usr \
Hans-G?nter@23010 28 --enable-avfilter \
Hans-G?nter@23010 29 --enable-avfilter-lavf \
Hans-G?nter@23010 30 --disable-debug \
Hans-G?nter@23010 31 --disable-doc \
Hans-G?nter@23010 32 --enable-gpl \
Hans-G?nter@23010 33 --enable-nonfree \
Hans-G?nter@23010 34 --enable-postproc \
Hans-G?nter@23010 35 --enable-pthreads \
Hans-G?nter@23010 36 --enable-runtime-cpudetect \
Hans-G?nter@23010 37 --enable-shared \
Hans-G?nter@23010 38 --enable-x11grab \
Hans-G?nter@23010 39 --arch=i486 \
Hans-G?nter@23010 40 --cpu=i486 &&
Hans-G?nter@23010 41 make &&
al@14123 42 make install
al@14123 43 }
al@14123 44
al@14123 45 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14123 46 genpkg_rules()
al@14123 47 {
al@14123 48 mkdir -p $fs/usr/lib
Hans-G?nter@23010 49
Hans-G?nter@23010 50 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23010 51 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23010 52 cp -a $install/usr/share $fs/usr
al@14123 53 }