wok-next view harfbuzz/receipt @ rev 21495
updated arping (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 18 21:25:23 2020 +0100 (2020-06-18) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="harfbuzz"
4 VERSION="1.8.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="OpenType text shaping engine"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 gobject-introspection-dev cairo-dev freetype-dev \
16 fontconfig-dev icu-dev"
17 SPLIT="libharfbuzz libharfbuzz-icu $PACKAGE-icu-dev $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --with-gobject \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 # Note, we have two development packages:
30 # * harfbuzz-dev - without ICU integration
31 # * harfbuzz-icu-dev - with ICU integration
32 # Use one of these packages at a time in your receipt.
34 case $PACKAGE in
35 harfbuzz)
36 copy bin/
37 CAT="system-tools|applications"
38 DEPENDS="libcairo freetype glib libharfbuzz"
39 ;;
40 libharfbuzz)
41 copy libharfbuzz.so* libharfbuzz-gobject.so* libharfbuzz-subset.so*
42 CAT="libs|shared library"
43 DEPENDS="freetype glib"
44 ;;
45 libharfbuzz-icu)
46 copy libharfbuzz-icu.so*
47 CAT="libs|ICU integration"
48 DEPENDS="libharfbuzz libicu"
49 ;;
50 harfbuzz-icu-dev)
51 copy *-icu.h *-icu.pc # *-icu.la
52 CAT="development|ICU integration development files"
53 DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
54 PROVIDE="harfbuzz-icu" # fake for cookutils as it always wanted to install package without '-dev'
55 ;;
56 harfbuzz-dev)
57 copy @dev @rm
58 DEPENDS="harfbuzz glib-dev"
59 ;;
60 esac
61 }