wok annotate ffmpegthumbnailer/receipt @ rev 22350
xarchiver: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 11:21:40 2019 +0100 (2019-11-18) |
parents | 25a18b94dcb7 |
children | 919d2a3148b6 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ffmpegthumbnailer" |
maniac@21610 | 4 VERSION="2.2.0" |
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@20673 | 9 WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
maniac@21610 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
maniac@21610 | 12 |
pascal@14379 | 13 |
pascal@14379 | 14 DEPENDS="ffmpeg gcc-lib-base libjpeg libpng" |
pascal@21612 | 15 BUILD_DEPENDS="ffmpeg-dev libpng-dev jpeg-dev libgnutls gcc83 cmake" |
pascal@14379 | 16 |
pascal@14379 | 17 # Rules to configure and make the package. |
pascal@14379 | 18 compile_rules() |
pascal@14379 | 19 { |
pascal@21612 | 20 export CC=gcc-83 CXX=g++-83 |
pascal@21612 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr . |
pascal@14379 | 22 make && |
pascal@14379 | 23 make install |
pascal@14379 | 24 } |
pascal@14379 | 25 |
pascal@14379 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 27 genpkg_rules() |
pascal@14379 | 28 { |
al@16780 | 29 mkdir -p $fs/usr/lib $fs/usr/share/thumbnailers |
pascal@14379 | 30 cp -a $install/usr/bin $fs/usr |
pascal@14379 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@16780 | 32 cp -a $stuff/* $fs/usr/share/thumbnailers |
pascal@14379 | 33 } |