# HG changeset patch # User Pascal Bellard # Date 1245576300 -7200 # Node ID d7b9d3ce48da120d55315d5eb8367fd0ba5e22a9 # Parent 9cf36f931f36ea2114d8979241b8f9636076016d Add ecofont diff -r 9cf36f931f36 -r d7b9d3ce48da ecofont/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ecofont/receipt Sun Jun 21 11:25:00 2009 +0200 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="ecofont" +VERSION="1.0" +CATEGORY="x-window" +SHORT_DESC="20% ink saving font from SPRANQ." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="spranq_eco_sans_regular.zip" +WEB_SITE="http://www.ecofont.eu/ecofont_en.html" +WGET_URL="http://www.ecofont.eu/assets/files/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $src 2> /dev/null && mv *.ttf $src || return 0 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/fonts/truetype/ecofont + cp -a $src/* $fs/usr/share/fonts/truetype/ecofont +}