wok annotate transcode/receipt @ rev 21206
Add lbzip2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 07 20:47:35 2019 +0200 (2019-04-07) |
parents | 22980cdd8a20 |
children | cfa4f29841ff |
rev | line source |
---|---|
pascal@19896 | 1 # SliTaz package receipt. |
pascal@19896 | 2 |
pascal@19896 | 3 PACKAGE="transcode" |
pascal@19896 | 4 VERSION="1.1.7" |
pascal@19896 | 5 CATEGORY="multimedia" |
pascal@19896 | 6 SHORT_DESC="A text-console utility for video stream processing." |
pascal@19896 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19896 | 8 LICENSE="GPL2" |
pascal@19896 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20684 | 10 WEB_SITE="https://bitbucket.org/achurch_/transcode/wiki/Home" |
pascal@19896 | 11 WGET_URL="$WEB_SITE/downloads/$TARBALL" |
pascal@19896 | 12 EXTRA_SOURCE_FILES="http://www.linuxfromscratch.org/patches/blfs/7.6/transcode-1.1.7-ffmpeg2-1.patch" |
pascal@19896 | 13 |
pascal@19922 | 14 DEPENDS="libav lame libdvdread jpeg libvorbis alsa-lib" |
pascal@19896 | 15 BUILD_DEPENDS="ffmpeg-dev lame-dev libdvdread-dev jpeg-dev libvorbis-dev \ |
pascal@20590 | 16 imagemagick-dev alsa-lib-dev xorg-libXv-dev libgnutls" |
pascal@19896 | 17 |
pascal@19896 | 18 # Rules to configure and make the package. |
pascal@19896 | 19 compile_rules() |
pascal@19896 | 20 { |
pascal@19896 | 21 [ -s "$SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES)" ] || |
pascal@19896 | 22 wget -P $SOURCES_REPOSITORY $EXTRA_SOURCE_FILES |
pascal@19896 | 23 patch -p1 < $SOURCES_REPOSITORY/$(basename $EXTRA_SOURCE_FILES) |
pascal@19896 | 24 sed -i 's/av_close_input_file(/avformat_close_input(\&/' import/probe_ffmpeg.c |
pascal@19896 | 25 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@19896 | 26 --mandir=/usr/share/man \ |
pascal@19896 | 27 $CONFIGURE_ARGS && |
pascal@19896 | 28 make && |
pascal@19896 | 29 make DESTDIR=$DESTDIR install |
pascal@19896 | 30 } |
pascal@19896 | 31 |
pascal@19896 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19896 | 33 genpkg_rules() |
pascal@19896 | 34 { |
pascal@19896 | 35 mkdir -p $fs/usr |
pascal@19896 | 36 cp -a $install/usr/bin $fs/usr |
pascal@19896 | 37 cp -a $install/usr/lib $fs/usr |
pascal@19896 | 38 } |