wok-next annotate harfbuzz/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 60bd4df08f57
children d43bf7aae921
rev   line source
al@19752 1 # SliTaz package receipt v2.
pankso@16149 2
pankso@16149 3 PACKAGE="harfbuzz"
al@20443 4 VERSION="1.4.8"
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@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/harfbuzz.html"
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
al@20443 18 compile_rules() {
pankso@16149 19 ./configure \
pankso@16149 20 --with-glib \
pankso@16149 21 --with-freetype \
pankso@16149 22 --with-gobject \
al@19306 23 $CONFIGURE_ARGS &&
pankso@16149 24 make && make install
pankso@16149 25 }
pankso@16149 26
pankso@16149 27 genpkg_rules()
pankso@16149 28 {
al@19802 29 # Note, we have two development packages:
al@19802 30 # * harfbuzz-dev - without ICU integration
al@19802 31 # * harfbuzz-icu-dev - with ICU integration
al@19802 32 # Use one of these packages at a time in your receipt.
al@19802 33
al@19752 34 case $PACKAGE in
al@19752 35 harfbuzz)
al@19802 36 copy bin/
al@19802 37 CAT="system-tools|applications"
al@19802 38 DEPENDS="libharfbuzz cairo"
al@19752 39 ;;
al@19802 40 libharfbuzz)
al@19802 41 copy libharfbuzz.so* libharfbuzz-gobject.so*
al@19802 42 CAT="libs|shared library"
al@19802 43 DEPENDS="freetype glib"
al@19802 44 ;;
al@19802 45 libharfbuzz-icu)
al@19802 46 copy libharfbuzz-icu.so*
al@19802 47 CAT="libs|ICU integration"
al@19802 48 DEPENDS="libicu libharfbuzz"
al@19802 49 ;;
al@19802 50 harfbuzz-icu-dev)
al@19802 51 copy *-icu.h *-icu.la *-icu.pc
al@19802 52 CAT="development|ICU integration development files"
al@19802 53 DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
al@19893 54 PROVIDE="harfbuzz-icu" # fake for cookutils as it always wanted to install package without '-dev'
al@19752 55 ;;
al@19752 56 harfbuzz-dev)
al@19752 57 copy @dev
al@19802 58 remove_already_packed
al@19752 59 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
al@19802 60 libpng16-dev pcre-dev"
al@19752 61 ;;
al@19752 62 esac
pankso@16149 63 }