### this file is sourced not run
PKGVER=1.3.2
PKGBUILD=1
PKGARCH=i686

# source: BLFS 11.3 updated to BLFS SVN r890
TARBALL=libwebp-$PKGVER.tar.gz
MD5SUM=34869086761c0e2da6361035f7b64771
SRC_URL=http://downloads.webmproject.org/releases/webp/$TARBALL
BUNDLE=

SLACKREQ='libpng32 libjpeg-turbo32 libtiff32'
SLACKDESC="libwebp32: libwebp32 $PKGVER (WebP image format library)
libwebp32: 
libwebp32: The libwebp package contains a library and support programs to encode 
libwebp32: and decode images in WebP format.
libwebp32: 
libwebp32: This contains 32-bit version of the library
libwebp32: 
libwebp32: 
libwebp32: 
libwebp32: 
libwebp32: 
"

### default pkg_download
### defallt pkg_prepare

### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS \
            --enable-libwebpmux     \
            --enable-libwebpdemux   \
            --enable-libwebpdecoder \
            --enable-libwebpextras  \
            --enable-swap-16bit-csp \
            --disable-static"        &&	

	pkg_build_autoconf &&
	pkg_build_slackdesc
}


