wok view libass/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (15 months ago)
parents d4859a833be5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libass"
4 VERSION="0.15.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="A portable library for SSA/ASS subtitles rendering."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/libass/libass"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="enca fontconfig fribidi libpng"
15 BUILD_DEPENDS="enca-dev expat-dev fontconfig-dev freetype-dev
16 fribidi-dev libpng-dev libxml2-dev pkg-config"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files *.so*
37 }