wok-current annotate ffmpegthumbnailer/receipt @ rev 16780
ffmpegthumbnailer: add thumbnailer file.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 23 01:49:34 2014 +0300 (2014-06-23) |
parents | 7a526dcd4932 |
children | da9376ad2691 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ffmpegthumbnailer" |
pascal@14379 | 4 VERSION="2.0.8" |
al@14742 | 5 CATEGORY="system-tools" |
pascal@14379 | 6 SHORT_DESC="Lightweight video thumbnailer that can be used by file managers" |
pascal@14379 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14653 | 8 LICENSE="GPL2" |
pascal@14379 | 9 WEB_SITE="http://code.google.com/p/ffmpegthumbnailer/" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14379 | 11 WGET_URL="http://ffmpegthumbnailer.googlecode.com/files/$TARBALL" |
pascal@14379 | 12 |
pascal@14379 | 13 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng" |
pascal@14379 | 14 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev" |
pascal@14379 | 15 |
pascal@14379 | 16 # Rules to configure and make the package. |
pascal@14379 | 17 compile_rules() |
pascal@14379 | 18 { |
pascal@14379 | 19 ./configure \ |
pascal@14379 | 20 --enable-png \ |
pascal@14379 | 21 --enable-jpeg \ |
pascal@14379 | 22 --enable-gio \ |
pascal@14379 | 23 $CONFIGURE_ARGS && |
pascal@14379 | 24 make && |
pascal@14379 | 25 make install |
pascal@14379 | 26 } |
pascal@14379 | 27 |
pascal@14379 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 29 genpkg_rules() |
pascal@14379 | 30 { |
al@16780 | 31 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers |
pascal@14379 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14379 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16780 | 34 cp -a $stuff/* $fs/usr/share/thumbnailers |
pascal@14379 | 35 } |