wok-next view harfbuzz/receipt @ rev 20322
Up TeXmacs (1.0.7.18), linux-dev (4.9.30)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 18:54:50 2017 +0100 (2017-11-11) |
parents | f3ccdc5d10ed |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="harfbuzz"
4 VERSION="1.4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenType text shaping engine"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.freedesktop.org/software/harfbuzz/release/$TARBALL"
15 BUILD_DEPENDS="glib-dev cairo-dev freetype-dev fontconfig-dev icu-dev"
16 SPLIT="libharfbuzz libharfbuzz-icu harfbuzz-icu-dev harfbuzz-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --with-glib \
23 --with-freetype \
24 --with-gobject \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # Note, we have two development packages:
33 # * harfbuzz-dev - without ICU integration
34 # * harfbuzz-icu-dev - with ICU integration
35 # Use one of these packages at a time in your receipt.
37 case $PACKAGE in
38 harfbuzz)
39 copy bin/
40 CAT="system-tools|applications"
41 DEPENDS="libharfbuzz cairo"
42 ;;
43 libharfbuzz)
44 copy libharfbuzz.so* libharfbuzz-gobject.so*
45 CAT="libs|shared library"
46 DEPENDS="freetype glib"
47 ;;
48 libharfbuzz-icu)
49 copy libharfbuzz-icu.so*
50 CAT="libs|ICU integration"
51 DEPENDS="libicu libharfbuzz"
52 ;;
53 harfbuzz-icu-dev)
54 copy *-icu.h *-icu.la *-icu.pc
55 CAT="development|ICU integration development files"
56 DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
57 PROVIDE="harfbuzz-icu" # fake for cookutils as it always wanted to install package without '-dev'
58 ;;
59 harfbuzz-dev)
60 copy @dev
61 remove_already_packed
62 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
63 libpng16-dev pcre-dev"
64 ;;
65 esac
66 }