wok-next view xorg-font-micro-misc/receipt @ rev 20326

linux-dev: tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 13 10:46:11 2017 +0200 (2017-11-13)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-micro-misc"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Micro bitmap font"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://www.x.org/wiki/"
11 TARBALL="font-micro-misc-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/font/$TARBALL"
14 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
15 PKG_RULE="std"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy @std
32 TAGS="font"
33 }
35 post_install() {
36 chroot "$1/" fc-cache -r /usr/share/fonts/X11/misc
37 }
38 post_remove() {
39 chroot "$1/" fc-cache -r
40 }