wok-next view fontconfig-infinality/receipt @ rev 15194
Add pigz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 30 11:47:42 2013 +0000 (2013-08-30) |
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 }