wok-next diff xorg-font-bh-100dpi/receipt @ rev 20030

Up flam3 (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 15:52:59 2017 +0200 (2017-10-22)
parents f463de72afe3
children 757d032c55c7
line diff
     1.1 --- a/xorg-font-bh-100dpi/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/xorg-font-bh-100dpi/receipt	Sun Oct 22 15:52:59 2017 +0200
     1.3 @@ -1,19 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-font-bh-100dpi"
     1.8  VERSION="1.0.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Bigelow & Holmes bitmap fonts Lucida and LucidaBright (100 DPI)"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 -LICENSE="other"
    1.13 +LICENSE="MIT"
    1.14  WEB_SITE="https://www.x.org/wiki/"
    1.15 -TAGS="font"
    1.16  COOKOPTS="!gz" # too long
    1.17  
    1.18  TARBALL="font-bh-100dpi-$VERSION.tar.bz2"
    1.19  WGET_URL="$XORG_MIRROR/font/$TARBALL"
    1.20  
    1.21  BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
    1.22 +PKG_RULE="std"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26 @@ -21,6 +21,7 @@
    1.27  	./configure \
    1.28  		--sysconfdir=/etc \
    1.29  		--localstatedir=/var \
    1.30 +		--disable-all-encodings \
    1.31  		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33  	make install
    1.34 @@ -29,8 +30,13 @@
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	copy *.pcf.gz
    1.39 +	copy @std
    1.40 +	TAGS="font"
    1.41  }
    1.42  
    1.43 -post_install() { chroot "$1/" fc-cache /usr/share/fonts/X11/100dpi; }
    1.44 -post_remove()  { chroot "$1/" fc-cache; }
    1.45 +post_install() {
    1.46 +	chroot "$1/" fc-cache -r /usr/share/fonts/X11/100dpi
    1.47 +}
    1.48 +post_remove() {
    1.49 +	chroot "$1/" fc-cache -r
    1.50 +}