wok-next annotate harfbuzz/receipt @ rev 20862

lzip: up (1.20); rpm4 -> rpm: up (4.14.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 28 01:53:42 2018 +0300 (2018-06-28)
parents afbc312ba6b0
children e7a485521d6a
rev   line source
al@19752 1 # SliTaz package receipt v2.
pankso@16149 2
pankso@16149 3 PACKAGE="harfbuzz"
al@20541 4 VERSION="1.7.5"
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-gobject \
al@19306 21 $CONFIGURE_ARGS &&
al@20542 22 fix libtool &&
al@20541 23 make &&
al@20541 24 make install
pankso@16149 25 }
pankso@16149 26
al@20541 27 genpkg_rules() {
al@19802 28 # Note, we have two development packages:
al@19802 29 # * harfbuzz-dev - without ICU integration
al@19802 30 # * harfbuzz-icu-dev - with ICU integration
al@19802 31 # Use one of these packages at a time in your receipt.
al@19802 32
al@19752 33 case $PACKAGE in
al@19752 34 harfbuzz)
al@19802 35 copy bin/
al@19802 36 CAT="system-tools|applications"
al@20542 37 DEPENDS="cairo freetype glib libharfbuzz"
al@19752 38 ;;
al@19802 39 libharfbuzz)
al@19802 40 copy libharfbuzz.so* libharfbuzz-gobject.so*
al@19802 41 CAT="libs|shared library"
al@19802 42 DEPENDS="freetype glib"
al@19802 43 ;;
al@19802 44 libharfbuzz-icu)
al@19802 45 copy libharfbuzz-icu.so*
al@19802 46 CAT="libs|ICU integration"
al@20542 47 DEPENDS="libharfbuzz libicu"
al@19802 48 ;;
al@19802 49 harfbuzz-icu-dev)
al@20540 50 copy *-icu.h *-icu.pc # *-icu.la
al@19802 51 CAT="development|ICU integration development files"
al@20602 52 DEPENDS="libharfbuzz-icu harfbuzz-dev icu-dev"
al@19893 53 PROVIDE="harfbuzz-icu" # fake for cookutils as it always wanted to install package without '-dev'
al@19752 54 ;;
al@19752 55 harfbuzz-dev)
al@20513 56 copy @dev @rm
al@20542 57 DEPENDS="harfbuzz glib-dev"
al@19752 58 ;;
al@19752 59 esac
pankso@16149 60 }