wok-next annotate xorg-font-adobe-75dpi/receipt @ rev 20526

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