wok view libass/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days 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 }