wok view libwebp/receipt @ rev 25270

gst-ffmpeg*: ORC_TARGET_ALTIVEC_ALTIVEC not defined yet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 15:43:19 2022 +0000 (2022-07-17)
parents ac8ca9758df1
children 7a8b9cd09212
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebp"
4 VERSION="1.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="WebP image library."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/webmproject/libwebp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="autoconf automake jpeg-dev libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }