wok-next view xorg-font-misc-misc/receipt @ rev 20112

Up py3k (3.6.3); py3k, py3k3: receipts v.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 30 02:46:09 2017 +0200 (2017-10-30)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-misc-misc"
4 VERSION="1.1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Misc bitmap fixed fonts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://www.x.org/wiki/"
10 COOKOPTS="!gz" # too long
12 TARBALL="font-misc-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 --disable-all-encodings \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 copy @std
34 TAGS="font"
35 }
37 post_install() {
38 chroot "$1/" fc-cache -r /usr/share/fonts/X11/misc
39 }
40 post_remove() {
41 chroot "$1/" fc-cache -r
42 }