wok-next view xorg-font-isas-misc/receipt @ rev 20035

geos: tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 19:26:43 2017 +0300 (2017-10-22)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-isas-misc"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="ISAS bitmap fonts: Fangsong ti, Song ti"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
10 COOKOPTS="!gz" # too long
12 TARBALL="font-isas-misc-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
16 PKG_RULE="std"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 copy @std
33 TAGS="font"
34 }
36 post_install() {
37 chroot "$1/" fc-cache -r /usr/share/fonts/X11/misc
38 }
39 post_remove() {
40 chroot "$1/" fc-cache -r
41 }