wok-6.x view fontconfig/receipt @ rev 21411

updated macchanger (1.5.0 -> 1.7.0)
author Hans-G?nter Theisgen
date Tue Apr 23 16:51:49 2019 +0100 (2019-04-23)
parents 84ae0c3ef107
children ae73fb35f0cf
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig"
4 VERSION="2.10.91"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="bzlib expat freetype libxml2"
15 BUILD_DEPENDS="libxml2-dev freetype-dev liblzma-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --with-arch=$ARCH \
24 --disable-static \
25 --enable-iconv \
26 --enable-libxml2 \
27 --disable-docs \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share $fs/usr
41 cp -a $install/var $fs
43 cd $fs/usr/share/fontconfig/conf.avail
44 for h in hintslight hintmedium hintfull; do
45 cat > 10-hintstyle-$h.conf <<EOT
46 <match target="font">
47 <edit mode="append" name="hintstyle">
48 <const>${h}</const>
49 </edit>
50 </match>
51 EOT
52 done
54 ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf \
55 $fs/etc/fonts/conf.d
57 # Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
58 # configurations from ~/.fonts.conf is deprecated.
59 sed '/~\/\.fonts\.conf</d' $fs/usr/share/fontconfig/conf.avail/50-user.conf
61 chown -R root.root $fs
62 }