#Packager: George Vlahavas pkgname=libwebp pkgver=0.5.0 pkgrel=1gv source=("https://github.com/webmproject/libwebp/archive/v${pkgver}.tar.gz") docs=("readme*" "install" "copying" "changelog" "authors" "news" "todo" "patents") url=https://developers.google.com/speed/webp/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libwebp (WebP library and conversion tools)" "WebP is an image format that does lossy compression of digital" "photographic images. WebP consists of a codec based on VP8, that" "Google open-sourced in May 2010 and a container based on RIFF." "Webmasters, web developers and browser developers can use WebP to" "compress, archive and distribute digital images more efficiently." ) build() { cd $startdir/src/$pkgname-$pkgver ./autogen.sh ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-swap-16bit-csp \ --enable-experimental \ --enable-libwebpmux \ --enable-libwebpdemux \ --enable-libwebpdecoder \ --enable-libwebpextras \ --disable-static \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }