wok-next diff fontconfig-infinality/receipt @ rev 15362

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 13:07:29 2013 +0000 (2013-10-02)
parents
children 3b4e4318134e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fontconfig-infinality/receipt	Wed Oct 02 13:07:29 2013 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fontconfig-infinality"
     1.7 +VERSION="1-20130104_1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Infinality addition for fontconfig"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://www.infinality.net/blog/infinality-freetype-patches/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="http://www.infinality.net/fedora/linux/zips/$TARBALL"
    1.14 +
    1.15 +DEPENDS="fontconfig"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p \
    1.21 +		$fs/etc/fonts \
    1.22 +		$fs/usr/bin
    1.23 +	cp -r $src/* $fs/etc/fonts
    1.24 +	mv $fs/etc/fonts/infinality/infctl.sh $fs/usr/bin
    1.25 +	# ported to Ash
    1.26 +	sed -i 's|bin/bash|bin/sh|; s|^function \([a-z]*\) |\1()\n|g; \
    1.27 +		s|select style|for style|; s|rm -r|rm -rf|; s|mkdir|mkdir -p|' \
    1.28 +		$fs/usr/bin/infctl.sh
    1.29 +}