wok-next view libass/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 6c3718ca17b6 |
children | 0ec6086e21d6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libass"
4 VERSION="0.13.6"
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="https://github.com/libass/libass/releases/download/$VERSION/$TARBALL"
14 BUILD_DEPENDS="yasm-dev freetype-dev fribidi-dev fontconfig-dev"
15 SPLIT="libass-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libass.html
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 libass)
29 copy @std
30 DEPENDS="bzlib fontconfig freetype fribidi glib libharfbuzz \
31 liblzma libpng16 libxml2 pcre zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libass bzip2-dev fontconfig-dev freetype-dev fribidi-dev \
36 glib-dev harfbuzz-dev libpng16-dev libxml2-dev pcre-dev xz-dev \
37 zlib-dev"
38 ;;
39 esac
40 }