summaryrefslogtreecommitdiff
path: root/repo/libwebp/libwebp.xibuild
blob: c4a1809b307f74b2dfde76fd13e4dd734685ba8e (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
#!/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
}