# SliTaz package receipt. PACKAGE="ffmpegthumbnailer" VERSION="2.2.2" CATEGORY="system-tools" SHORT_DESC="Lightweight video thumbnailer that can be used by file managers." MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" WEB_SITE="https://github.com/dirkvdb/ffmpegthumbnailer" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" DEPENDS="ffmpeg gcc83-lib-base libjpeg libpng" BUILD_DEPENDS="cmake ffmpeg-dev gcc83 jpeg-dev libgnutls libpng-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export CC=gcc-83 export CXX=g++-83 cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/usr/share/thumbnailers cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $stuff/* $fs/usr/share/thumbnailers }