wok-next annotate fontconfig-infinality/receipt @ rev 15288

pkg-config: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 17:57:02 2013 +0000 (2013-09-26)
parents
children 3b4e4318134e
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"
al@14225 8 WEB_SITE="http://www.infinality.net/blog/infinality-freetype-patches/"
al@14225 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14225 10 WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL"
al@14225 11
al@14225 12 DEPENDS="fontconfig"
al@14225 13
al@14225 14 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14225 15 genpkg_rules()
al@14225 16 {
al@14225 17 mkdir -p \
al@14225 18 $fs/etc/fonts \
al@14225 19 $fs/usr/bin
al@14225 20 cp -r $src/* $fs/etc/fonts
al@14225 21 mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
al@14225 22 # ported to Ash
al@14225 23 sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
al@14225 24 s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
al@14225 25 $fs/usr/bin/infctl.sh
al@14225 26 }