wok-next view xorg-font-adobe-75dpi/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | f463de72afe3 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-font-adobe-75dpi"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Adobe bitmap fonts Courier, Helvetica, New Century Schoolbook, \
7 Symbol, Times (75 DPI)"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
11 COOKOPTS="!gz" # too long
13 TARBALL="font-adobe-75dpi-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/font/$TARBALL"
16 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf"
17 PKG_RULE="std"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-all-encodings \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 copy @std
35 TAGS="font"
36 }
38 post_install() {
39 chroot "$1/" fc-cache -r /usr/share/fonts/X11/75dpi/
40 }
41 post_remove() {
42 chroot "$1/" fc-cache -r
43 }