#Packager: Shador pkgname=ffmpegthumbnailer pkgver=2.0.6 pkgrel=1ab source=("http://ffmpegthumbnailer.googlecode.com/files/ffmpegthumbnailer-${pkgver}.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "install" "copying" "changelog" "authors" "todo") url='http://code.google.com/p/ffmpegthumbnailer/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "ffmpegthumbnailer (video thumbnailer)" "This video thumbnailer can be used to create thumbnails for your video" "files. The thumbnailer uses ffmpeg to decode frames from the video" "files, so supported videoformats depend on the configuration flags of" "ffmpeg." "This thumbnailer was designed to be as fast and lightweight as" "possible. The only dependencies are ffmpeg, libpng and libjpeg." "The project also includes a C/C++ library that can be used by" "developers to generate thumbnails in their projects." ) build() { set -e cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver/ \ --enable-gio \ --enable-png \ --enable-jpeg \ --disable-static \ --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }