wok-4.x annotate ttf-bitstream-vera/receipt @ rev 3674
Add ocsinventory-server
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jul 11 12:17:23 2009 +0200 (2009-07-11) |
parents | 99715173ee02 |
children | 866fa2493b1b |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ttf-bitstream-vera" |
pankso@27 | 4 VERSION="1.10" |
pankso@27 | 5 CATEGORY="x-window" |
pankso@27 | 6 SHORT_DESC="The ttf bitstream vera fonts." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 9 WEB_SITE="http://www.gnome.org/fonts/" |
pankso@27 | 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL" |
pankso@27 | 11 |
pankso@27 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 13 genpkg_rules() |
pankso@27 | 14 { |
pankso@27 | 15 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 16 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera |
pankso@27 | 17 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB* |
pankso@27 | 18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt* |
pankso@27 | 19 } |
pankso@27 | 20 |
pankso@27 | 21 # Pre and post install commands for Tazpkg. |
pankso@27 | 22 post_install() |
pankso@27 | 23 { |
pankso@27 | 24 local root |
pankso@27 | 25 root=$1 |
pankso@27 | 26 echo "Processing post-install commands..." |
pankso@27 | 27 if [ -n "$root" ]; then |
pankso@27 | 28 rm -Rf $root/var/cache/fontconfig |
pankso@27 | 29 cp -a /var/cache/fontconfig $root/var/cache |
pankso@27 | 30 else |
pankso@27 | 31 fc-cache |
pankso@27 | 32 fi |
pankso@27 | 33 } |
pascal@1925 | 34 |
pascal@1925 | 35 # We need this package on build host to install it in target directory |
pankso@27 | 36 SELF_INSTALL=1 |