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

# source: post BLFS 8.2 2018-07-25
TARBALL=libwebp-$PKGVER.tar.gz
MD5SUM=967b8f087cb392e6cc94d5e116a120c0
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
}


