wok annotate xorg-base-fonts/receipt @ rev 20283
security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Mar 27 11:09:07 2018 +0000 (2018-03-27) |
parents | 9e01bc6321ea |
children | 814c58f64f83 |
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@16063 | 12 HOST_ARCH="i486 arm" |
pankso@87 | 13 |
pascal@19248 | 14 BUILD_DEPENDS="advancecomp" |
pascal@19248 | 15 |
pascal@19248 | 16 # Rules to configure and make the package. |
pascal@19248 | 17 compile_rules() |
pascal@19248 | 18 { |
pascal@19248 | 19 find $src/fonts -name '*.gz' -exec advdef -z4 {} \; |
pascal@19248 | 20 } |
pascal@19248 | 21 |
pankso@87 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 23 genpkg_rules() |
pankso@87 | 24 { |
psychomaniak@18033 | 25 fontpath="$fs/usr/share/fonts/X11/misc" |
psychomaniak@18033 | 26 mkdir -p $fontpath $fs/usr/share/fonts/X11/util |
psychomaniak@18033 | 27 install -m644 -oroot -groot $src/fonts/misc/* $fontpath |
al@17927 | 28 install -m644 -oroot -groot $src/fonts/util/* $fs/usr/share/fonts/X11/util |
psychomaniak@18528 | 29 rm -rf $fontpath/6x13-ISO8859-1.pcf.gz $fontpath/cursor.pcf.gz # libXfont buitins |
al@17925 | 30 sed -i 6i\ '7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1' \ |
psychomaniak@18033 | 31 $fontpath/fonts.dir |
pankso@87 | 32 } |
pankso@87 | 33 |
al@18582 | 34 # Execute fc-cache when the package finish to install. |
pankso@87 | 35 post_install() |
pankso@87 | 36 { |
al@18582 | 37 # It may be segfault without -f or -r |
pascal@18730 | 38 chroot "$1/" /usr/bin/fc-cache -r |
pankso@87 | 39 } |