wok-6.x annotate fontconfig-infinality/receipt @ rev 20426
linld: fix xmm_driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 00:46:30 2018 +0200 (2018-08-13) |
parents | 3b4e4318134e |
children | e3f377fbc5f0 |
rev | line source |
---|---|
al@14225 | 1 # SliTaz package receipt. |
al@14225 | 2 |
al@14225 | 3 PACKAGE="fontconfig-infinality" |
al@14225 | 4 VERSION="1-20130104_1" |
al@14225 | 5 CATEGORY="x-window" |
al@14225 | 6 SHORT_DESC="Infinality addition for fontconfig" |
al@14225 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15593 | 8 LICENSE="MIT" |
al@14225 | 9 WEB_SITE="http://www.infinality.net/blog/infinality-freetype-patches/" |
al@14225 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14225 | 11 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL" |
al@18555 | 12 CONFIG_FILES="/etc/fonts/infinality/infinality.conf" |
al@14225 | 13 |
al@14225 | 14 DEPENDS="fontconfig" |
al@14225 | 15 |
al@14225 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14225 | 17 genpkg_rules() |
al@14225 | 18 { |
al@14225 | 19 mkdir -p \ |
al@14225 | 20 $fs/etc/fonts \ |
al@14225 | 21 $fs/usr/bin |
al@14225 | 22 cp -r $src/* $fs/etc/fonts |
al@14225 | 23 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin |
al@14225 | 24 # ported to Ash |
al@14225 | 25 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \ |
al@14225 | 26 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \ |
al@14225 | 27 $fs/usr/bin/infctl.sh |
al@14225 | 28 } |