wok-next view xorg-font-daewoo-misc/receipt @ rev 20249

lincity-ng: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 12:01:40 2017 +0100 (2017-11-07)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-daewoo-misc"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Daewoo bitmap fonts Gothic, Mincho"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
10 COOKOPTS="!gz" # too long
12 TARBALL="font-daewoo-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 }