wok-next annotate xorg-font-screen-cyrillic/receipt @ rev 20342

gkII: tiny png patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 17 15:57:17 2017 +0100 (2017-11-17)
parents f463de72afe3
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19650 2
al@19650 3 PACKAGE="xorg-font-screen-cyrillic"
al@19650 4 VERSION="1.0.4"
al@19650 5 CATEGORY="x-window"
al@19650 6 SHORT_DESC="Misc Screen Cyrillic bitmap font: Fixed"
al@19650 7 MAINTAINER="al.bobylev@gmail.com"
al@19650 8 LICENSE="other"
al@19650 9 WEB_SITE="https://www.x.org/wiki/"
al@19650 10 COOKOPTS="!gz" # too long
al@19650 11
al@19650 12 TARBALL="font-screen-cyrillic-$VERSION.tar.bz2"
al@19650 13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
al@19650 14
al@19650 15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
al@19805 16 PKG_RULE="std"
al@19650 17
al@19650 18 # Rules to configure and make the package.
al@19650 19 compile_rules()
al@19650 20 {
al@19650 21 ./configure \
al@19650 22 --sysconfdir=/etc \
al@19650 23 --localstatedir=/var \
al@19650 24 $CONFIGURE_ARGS &&
al@19650 25 make &&
al@19650 26 make install
al@19650 27 }
al@19650 28
al@19650 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19650 30 genpkg_rules()
al@19650 31 {
al@19805 32 copy @std
al@19805 33 TAGS="font"
al@19650 34 }
al@19650 35
al@19805 36 post_install() {
al@19805 37 chroot "$1/" fc-cache -r /usr/share/fonts/X11/cyrillic
al@19805 38 }
al@19805 39 post_remove() {
al@19805 40 chroot "$1/" fc-cache -r
al@19805 41 }