wok view fontconfig-infinality/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents
children 3b4e4318134e
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig-infinality"
4 VERSION="1-20130104_1"
5 CATEGORY="x-window"
6 SHORT_DESC="Infinality addition for fontconfig"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://www.infinality.net/blog/infinality-freetype-patches/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL"
12 DEPENDS="fontconfig"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p \
18 $fs/etc/fonts \
19 $fs/usr/bin
20 cp -r $src/* $fs/etc/fonts
21 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
22 # ported to Ash
23 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
24 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
25 $fs/usr/bin/infctl.sh
26 }