# SliTaz package receipt. PACKAGE="libwebp" VERSION="1.3.2" CATEGORY="x-window" SHORT_DESC="WebP image library." MAINTAINER="devl547@gmail.com" LICENSE="BSD" WEB_SITE="https://github.com/webmproject/libwebp" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz" DEPENDS="" BUILD_DEPENDS="autoconf automake jpeg-dev libtool" HOST_ARCH="i486 arm" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh && ./configure \ --disable-static \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }