wok-next annotate xorg-font-bh-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 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19649 | 2 |
al@19649 | 3 PACKAGE="xorg-font-bh-75dpi" |
al@19649 | 4 VERSION="1.0.3" |
al@19649 | 5 CATEGORY="x-window" |
al@19649 | 6 SHORT_DESC="Bigelow & Holmes bitmap fonts Lucida and LucidaBright (75 DPI)" |
al@19649 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19805 | 8 LICENSE="MIT" |
al@19649 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19649 | 10 COOKOPTS="!gz" # too long |
al@19649 | 11 |
al@19649 | 12 TARBALL="font-bh-75dpi-$VERSION.tar.bz2" |
al@19649 | 13 WGET_URL="$XORG_MIRROR/font/$TARBALL" |
al@19649 | 14 |
al@19649 | 15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf" |
al@19805 | 16 PKG_RULE="std" |
al@19649 | 17 |
al@19649 | 18 # Rules to configure and make the package. |
al@19649 | 19 compile_rules() |
al@19649 | 20 { |
al@19649 | 21 ./configure \ |
al@19649 | 22 --sysconfdir=/etc \ |
al@19649 | 23 --localstatedir=/var \ |
al@19805 | 24 --disable-all-encodings \ |
al@19649 | 25 $CONFIGURE_ARGS && |
al@19649 | 26 make && |
al@19649 | 27 make install |
al@19649 | 28 } |
al@19649 | 29 |
al@19649 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19649 | 31 genpkg_rules() |
al@19649 | 32 { |
al@19805 | 33 copy @std |
al@19805 | 34 TAGS="font" |
al@19649 | 35 } |
al@19649 | 36 |
al@19805 | 37 post_install() { |
al@19805 | 38 chroot "$1/" fc-cache -r /usr/share/fonts/X11/75dpi |
al@19805 | 39 } |
al@19805 | 40 post_remove() { |
al@19805 | 41 chroot "$1/" fc-cache -r |
al@19805 | 42 } |