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