wok-next view xorg-font-bitstream-75dpi/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents f463de72afe3
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-bitstream-75dpi"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Bitstream bitmap fonts Charter, Terminal (75 DPI)"
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-bitstream-75dpi-$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/75dpi
38 }
39 post_remove() {
40 chroot "$1/" fc-cache -r
41 }