wok-next view harfbuzz/receipt @ rev 20541

Up freetype (2.9), harfbuzz (1.7.5)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 31 13:24:46 2018 +0300 (2018-03-31)
parents c13a1a979137
children afbc312ba6b0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="harfbuzz"
4 VERSION="1.7.5"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/harfbuzz.html"
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 compile_rules() {
19 ./configure \
20 --with-gobject \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 # Note, we have two development packages:
28 # * harfbuzz-dev - without ICU integration
29 # * harfbuzz-icu-dev - with ICU integration
30 # Use one of these packages at a time in your receipt.
32 case $PACKAGE in
33 harfbuzz)
34 copy bin/
35 CAT="system-tools|applications"
36 DEPENDS="libharfbuzz cairo"
37 ;;
38 libharfbuzz)
39 copy libharfbuzz.so* libharfbuzz-gobject.so*
40 CAT="libs|shared library"
41 DEPENDS="freetype glib"
42 ;;
43 libharfbuzz-icu)
44 copy libharfbuzz-icu.so*
45 CAT="libs|ICU integration"
46 DEPENDS="libicu libharfbuzz"
47 ;;
48 harfbuzz-icu-dev)
49 copy *-icu.h *-icu.pc # *-icu.la
50 CAT="development|ICU integration development files"
51 DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
52 PROVIDE="harfbuzz-icu" # fake for cookutils as it always wanted to install package without '-dev'
53 ;;
54 harfbuzz-dev)
55 copy @dev @rm
56 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
57 libpng16-dev pcre-dev"
58 ;;
59 esac
60 }