# SliTaz package receipt. PACKAGE="libass" VERSION="0.15.2" CATEGORY="multimedia" SHORT_DESC="A portable library for SSA/ASS subtitles rendering." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://github.com/libass/libass" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" DEPENDS="enca fontconfig fribidi libpng" BUILD_DEPENDS="enca-dev expat-dev fontconfig-dev freetype-dev fribidi-dev libpng-dev libxml2-dev pkg-config" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }