wok-next annotate harfbuzz/receipt @ rev 21268

updated frogatto (1.3.1 -> 1.3.3)
author Hans-G?nter Theisgen
date Fri Dec 06 17:30:20 2019 +0100 (2019-12-06)
parents d5aab818505e
children
rev   line source
al@19752 1 # SliTaz package receipt v2.
pankso@16149 2
pankso@16149 3 PACKAGE="harfbuzz"
al@20905 4 VERSION="1.8.4"
pankso@16149 5 CATEGORY="system-tools"
pankso@16149 6 SHORT_DESC="OpenType text shaping engine"
al@21020 7 MAINTAINER="devel@slitaz.org"
pankso@16149 8 LICENSE="GPL2"
al@19306 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"
al@20905 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20905 15 BUILD_DEPENDS="glib-dev gobject-introspection-dev cairo-dev freetype-dev \
al@20905 16 fontconfig-dev icu-dev"
al@21020 17 SPLIT="libharfbuzz libharfbuzz-icu $PACKAGE-icu-dev $PACKAGE-dev"
pankso@16149 18
al@20443 19 compile_rules() {
pankso@16149 20 ./configure \
pankso@16149 21 --with-gobject \
al@19306 22 $CONFIGURE_ARGS &&
al@20542 23 fix libtool &&
al@20541 24 make &&
al@20541 25 make install
pankso@16149 26 }
pankso@16149 27
al@20541 28 genpkg_rules() {
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@21105 38 DEPENDS="libcairo freetype glib libharfbuzz"
al@19752 39 ;;
al@19802 40 libharfbuzz)
al@20905 41 copy libharfbuzz.so* libharfbuzz-gobject.so* libharfbuzz-subset.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@20542 48 DEPENDS="libharfbuzz libicu"
al@19802 49 ;;
al@19802 50 harfbuzz-icu-dev)
al@20540 51 copy *-icu.h *-icu.pc # *-icu.la
al@19802 52 CAT="development|ICU integration development files"
al@20602 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@20513 57 copy @dev @rm
al@20542 58 DEPENDS="harfbuzz glib-dev"
al@19752 59 ;;
al@19752 60 esac
pankso@16149 61 }