wok-next view harfbuzz/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 60bd4df08f57
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="harfbuzz"
4 VERSION="1.4.8"
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-glib \
21 --with-freetype \
22 --with-gobject \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 genpkg_rules()
28 {
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="libharfbuzz cairo"
39 ;;
40 libharfbuzz)
41 copy libharfbuzz.so* libharfbuzz-gobject.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="libicu libharfbuzz"
49 ;;
50 harfbuzz-icu-dev)
51 copy *-icu.h *-icu.la *-icu.pc
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
58 remove_already_packed
59 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
60 libpng16-dev pcre-dev"
61 ;;
62 esac
63 }