wok-next view harfbuzz/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | 4ca71b0ef823 |
children | 60bd4df08f57 |
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 ;;
58 harfbuzz-dev)
59 copy @dev
60 remove_already_packed
61 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
62 libpng16-dev pcre-dev"
63 ;;
64 esac
65 }