wok-current view fontconfig-infinality/receipt @ rev 18533
tazpkg: touch blocked-packages.list (thanks mojo)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 28 23:31:09 2015 +0000 (2015-10-28) |
parents | 66feb7f9e198 |
children | 0cfeeab67116 |
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"
13 DEPENDS="fontconfig"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p \
19 $fs/etc/fonts \
20 $fs/usr/bin
21 cp -r $src/* $fs/etc/fonts
22 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
23 # ported to Ash
24 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
25 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
26 $fs/usr/bin/infctl.sh
27 }