wok-6.x view ecofont/receipt @ rev 17429

luafilesystem: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 17:51:34 2014 +0100 (2014-12-05)
parents 40901e291d86
children d1570adae0ba
line source
1 # SliTaz package receipt.
3 PACKAGE="ecofont"
4 VERSION="2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="20% ink saving font from SPRANQ."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 TARBALL="spranq_eco_sans_regular.zip"
10 WEB_SITE="http://www.ecofont.eu/ecofont_en.html"
11 WGET_URL="http://www.ecofont.eu/assets/files/$TARBALL"
13 BUILD_DEPENDS="unzip"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 unzip $SOURCES_REPOSITORY/$TARBALL
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/fonts/truetype/ecofont
25 cp -a $src/* $fs/usr/share/fonts/truetype/ecofont
26 }