wok annotate libav/receipt @ rev 24452
cyrus-imapd: configured libexecdir
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 15 17:13:46 2022 +0100 (2022-02-15) |
parents | 095836df71b7 |
children | d77ab883a8b3 |
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 |
pascal@24326 | 23 # What is the latest version available today? |
pascal@24326 | 24 current_version() |
pascal@24326 | 25 { |
pascal@24384 | 26 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24384 | 27 sed '/Libav/!d;/<h/!d;s|.*Libav ||;s|<.*||;q' |
pascal@24326 | 28 } |
pascal@24326 | 29 |
al@14123 | 30 # Rules to configure and make the package. |
al@14123 | 31 compile_rules() |
al@14123 | 32 { |
Hans-G?nter@23010 | 33 ./configure \ |
Hans-G?nter@23010 | 34 --prefix=/usr \ |
Hans-G?nter@23010 | 35 --enable-avfilter \ |
Hans-G?nter@23010 | 36 --enable-avfilter-lavf \ |
Hans-G?nter@23010 | 37 --disable-debug \ |
Hans-G?nter@23010 | 38 --disable-doc \ |
Hans-G?nter@23010 | 39 --enable-gpl \ |
Hans-G?nter@23010 | 40 --enable-nonfree \ |
Hans-G?nter@23010 | 41 --enable-postproc \ |
Hans-G?nter@23010 | 42 --enable-pthreads \ |
Hans-G?nter@23010 | 43 --enable-runtime-cpudetect \ |
Hans-G?nter@23010 | 44 --enable-shared \ |
Hans-G?nter@23010 | 45 --enable-x11grab \ |
Hans-G?nter@23010 | 46 --arch=i486 \ |
Hans-G?nter@23010 | 47 --cpu=i486 && |
Hans-G?nter@23010 | 48 make && |
al@14123 | 49 make install |
al@14123 | 50 } |
al@14123 | 51 |
al@14123 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14123 | 53 genpkg_rules() |
al@14123 | 54 { |
al@14123 | 55 mkdir -p $fs/usr/lib |
Hans-G?nter@23010 | 56 |
Hans-G?nter@23010 | 57 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23010 | 58 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23010 | 59 cp -a $install/usr/share $fs/usr |
al@14123 | 60 } |