wok view fontconfig-infinality/receipt @ rev 19515
linld: multi initrd support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 22 21:19:01 2016 +0100 (2016-11-22) |
parents | 3b4e4318134e |
children | e3f377fbc5f0 |
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 LICENSE="MIT"
9 WEB_SITE="http://www.infinality.net/blog/infinality-freetype-patches/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL"
12 CONFIG_FILES="/etc/fonts/infinality/infinality.conf"
14 DEPENDS="fontconfig"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p \
20 $fs/etc/fonts \
21 $fs/usr/bin
22 cp -r $src/* $fs/etc/fonts
23 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
24 # ported to Ash
25 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
26 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
27 $fs/usr/bin/infctl.sh
28 }