wok-next annotate xorg-font-adobe-utopia-100dpi/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | ea3c4b76ea5d |
children | 02b674913611 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19649 | 2 |
al@19649 | 3 PACKAGE="xorg-font-adobe-utopia-100dpi" |
al@19649 | 4 VERSION="1.0.4" |
al@19649 | 5 CATEGORY="x-window" |
al@19649 | 6 SHORT_DESC="Adobe bitmap font Utopia (100 DPI)" |
al@19649 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19649 | 8 LICENSE="other" |
al@19649 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@19649 | 10 |
al@19649 | 11 TARBALL="font-adobe-utopia-100dpi-$VERSION.tar.bz2" |
al@19649 | 12 WGET_URL="$XORG_MIRROR/font/$TARBALL" |
al@19649 | 13 |
al@19649 | 14 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir xorg-bdftopcf" |
al@20534 | 15 COOKOPTS="!gz" # too long |
al@19805 | 16 PKG_RULE="std" |
al@19649 | 17 |
al@20534 | 18 compile_rules() { |
al@19649 | 19 ./configure \ |
al@19805 | 20 --disable-all-encodings \ |
al@19649 | 21 $CONFIGURE_ARGS && |
al@19649 | 22 make && |
al@19649 | 23 make install |
al@19649 | 24 } |
al@19649 | 25 |
al@20534 | 26 genpkg_rules() { |
al@19805 | 27 copy @std |
al@19805 | 28 TAGS="font" |
al@19649 | 29 } |
al@19649 | 30 |
al@19805 | 31 post_install() { |
al@19805 | 32 chroot "$1/" fc-cache -r /usr/share/fonts/X11/100dpi |
al@19805 | 33 } |
al@19805 | 34 post_remove() { |
al@19805 | 35 chroot "$1/" fc-cache -r |
al@19805 | 36 } |