36 lines
832 B
Text
36 lines
832 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=libwebp
|
|
version=1.1.0
|
|
build=1sml
|
|
homepage="https://developers.google.com/speed/webp/"
|
|
download="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$version.tar.gz"
|
|
desc="WebP library and conversion tools"
|
|
requires="giflib libpng zstd libtiff"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static \
|
|
--enable-everything \
|
|
--enable-swap-16bit-csp
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
5df747f059b0e92ea090ce08d74990944e6cd4d60afbbefa17528887ef805dea70bb4c16afabdaf72df7c71408117338f0e81cc389848675de3416d793757d37 libwebp-1.1.0.tar.lz
|
|
"
|