blob: 3ef06811e47620f7313c68ee19a6ebd01e5c9784 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
NAME="libwebp"
DESC="Libraries for working with WebP images"
MAKEDEPS="make "
DEPS="musl "
PKG_VER=1.2.4
SOURCE="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$PKG_VER.tar.gz"
prepare() {
./autogen.sh
}
build () {
./configure \
--prefix=/usr
--bindir=/usr/bin \
--sysconfdir=/etc \
--disable-static \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
--disable-tiff
make
}
package () {
make DESTDIR=$PKG_DEST install
mkdir -p $PKG_DEST/usr/share/doc/libwebp
install -Dm644 PATENTS README $PKG_DEST/usr/share/doc/libwebp
}
|