wok annotate cantarell-fonts/receipt @ rev 18179
Apache: fix init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 05 12:26:54 2015 +0200 (2015-07-05) |
parents | 7a526dcd4932 |
children | d1570adae0ba |
rev | line source |
---|---|
al@14269 | 1 # SliTaz package receipt. |
al@14269 | 2 |
al@14269 | 3 PACKAGE="cantarell-fonts" |
al@18008 | 4 VERSION="0.0.16" |
al@14269 | 5 CATEGORY="x-window" |
al@14269 | 6 SHORT_DESC="Sans serif font family designed for on-screen readability" |
al@14269 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14742 | 8 LICENSE="SIL_OFL" |
al@18008 | 9 WEB_SITE="https://wiki.gnome.org/CantarellFonts" |
al@14269 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@14269 | 11 SERIES="$(echo $VERSION | cut -d. -f1,2)" |
al@14269 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$SERIES/$TARBALL" |
al@14269 | 13 TAGS="font" |
al@14269 | 14 |
al@14269 | 15 DEPENDS="fontconfig" |
al@14269 | 16 |
al@14269 | 17 # Rules to configure and make the package. |
al@14269 | 18 compile_rules() |
al@14269 | 19 { |
al@14269 | 20 ./configure \ |
al@14269 | 21 --with-configdir=/etc/fonts/conf.avail \ |
al@14269 | 22 --with-fontdir=/usr/share/fonts/truetype/cantarell \ |
al@14269 | 23 $CONFIGURE_ARGS && |
al@14269 | 24 make && |
al@14269 | 25 make install |
al@14269 | 26 } |
al@14269 | 27 |
al@14269 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14269 | 29 genpkg_rules() |
al@14269 | 30 { |
al@14269 | 31 cp -a $install/* $fs |
al@14269 | 32 } |