wok-next view harfbuzz/receipt @ rev 20540

harfbuzz: remove *.la from harfbuzz-icu-dev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 31 13:03:36 2018 +0300 (2018-03-31)
parents d43bf7aae921
children f763caa043f3
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.pc # *-icu.la
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 @rm
58 DEPENDS="harfbuzz bzip2-dev freetype-dev glib-dev libffi-dev \
59 libpng16-dev pcre-dev"
60 ;;
61 esac
62 }