wok-current view libass/receipt @ rev 24807
Add fast-lzma2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 22 15:17:43 2022 +0000 (2022-03-22) |
parents | b569b85b0fb9 |
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 '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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 }