wok-current annotate xorg-base-fonts/receipt @ rev 15749
vte: save a few Kb (mv .la and gir* file to -dev pkg)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 03 11:32:22 2014 +0100 (2014-01-03) |
parents | c656dd6befc1 |
children | a2fdd7af31a2 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-base-fonts" |
pankso@710 | 4 VERSION="1.2" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="X window base/minimal fonts from the Xorg project." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@87 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@87 | 10 WEB_SITE="http://www.x.org/" |
pankso@87 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" |
pankso@87 | 12 |
pankso@87 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 14 genpkg_rules() |
pankso@87 | 15 { |
pankso@87 | 16 mkdir -p $fs/usr/share/fonts/X11 |
pankso@87 | 17 cp -a $src/fonts/* $fs/usr/share/fonts/X11 |
pankso@87 | 18 } |
pankso@87 | 19 |
pankso@87 | 20 # Execute fc-cache when the package finish ti install. |
pankso@87 | 21 post_install() |
pankso@87 | 22 { |
pankso@87 | 23 local root |
pankso@87 | 24 root=$1 |
pascal@5125 | 25 chroot $root/ /usr/bin/fc-cache |
pankso@87 | 26 } |