wok annotate fontconfig-infinality/receipt @ rev 16563
potamus: needs libsamplrate
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 01 11:08:34 2014 +0200 (2014-05-01) |
parents | 66feb7f9e198 |
children | 0cfeeab67116 |
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@14225 | 12 |
al@14225 | 13 DEPENDS="fontconfig" |
al@14225 | 14 |
al@14225 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14225 | 16 genpkg_rules() |
al@14225 | 17 { |
al@14225 | 18 mkdir -p \ |
al@14225 | 19 $fs/etc/fonts \ |
al@14225 | 20 $fs/usr/bin |
al@14225 | 21 cp -r $src/* $fs/etc/fonts |
al@14225 | 22 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin |
al@14225 | 23 # ported to Ash |
al@14225 | 24 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \ |
al@14225 | 25 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \ |
al@14225 | 26 $fs/usr/bin/infctl.sh |
al@14225 | 27 } |