wok-6.x annotate ffmpegthumbnailer/receipt @ rev 23835
Up axel (2.17.8), bluez (5.54), cpio (2.13), dnsmasq (2.81), libssh (0.9.4), unbound (1.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 09:34:18 2020 +0000 (2020-06-01) |
parents | 43fe4766fef4 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="ffmpegthumbnailer" |
Hans-G?nter@22757 | 4 VERSION="2.2.2" |
al@14742 | 5 CATEGORY="system-tools" |
Hans-G?nter@22757 | 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" |
Hans-G?nter@22757 | 10 |
pascal@14379 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
maniac@21610 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
maniac@21610 | 13 |
Hans-G?nter@22757 | 14 DEPENDS="ffmpeg gcc83-lib-base libjpeg libpng" |
Hans-G?nter@22757 | 15 BUILD_DEPENDS="cmake ffmpeg-dev gcc83 jpeg-dev libgnutls libpng-dev" |
pascal@14379 | 16 |
pascal@14379 | 17 # Rules to configure and make the package. |
pascal@14379 | 18 compile_rules() |
pascal@14379 | 19 { |
Hans-G?nter@22757 | 20 export CC=gcc-83 |
Hans-G?nter@22757 | 21 export CXX=g++-83 |
Hans-G?nter@22757 | 22 |
Hans-G?nter@22757 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
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 { |
Hans-G?nter@22757 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@22757 | 32 mkdir -p $fs/usr/share/thumbnailers |
Hans-G?nter@22757 | 33 |
Hans-G?nter@22757 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22757 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22757 | 36 cp -a $stuff/* $fs/usr/share/thumbnailers |
pascal@14379 | 37 } |