wok view ttf-bitstream-vera/receipt @ rev 17469

Add minidlna
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 26 22:17:30 2014 +0100 (2014-12-26)
parents 8873e661671a
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-bitstream-vera"
4 VERSION="1.10"
5 CATEGORY="x-window"
6 SHORT_DESC="The ttf bitstream vera fonts."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org/fonts/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
12 TAGS="font"
13 HOST_ARCH="i486 arm"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
19 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
20 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
21 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
22 }
24 # Pre and post install commands for Tazpkg.
25 post_install()
26 {
27 local root
28 root=$1
29 echo "Processing post-install commands..."
30 chroot $root/ /usr/bin/fc-cache
31 }