wok-next annotate terminus-font/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 49205cea4356 |
children |
rev | line source |
---|---|
al@19853 | 1 # SliTaz package receipt v2. |
al@13778 | 2 |
al@13778 | 3 PACKAGE="terminus-font" |
al@19853 | 4 VERSION="4.46" |
al@13778 | 5 CATEGORY="system-tools" |
al@19853 | 6 SHORT_DESC="Monospaced font designed for long work with computers" |
al@13778 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15601 | 8 LICENSE="OFL" |
al@13778 | 9 WEB_SITE="http://terminus-font.sourceforge.net/" |
al@21010 | 10 HOST_ARCH="any" |
al@21055 | 11 REPOLOGY="fonts:terminus" |
al@13778 | 12 |
al@19853 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19853 | 14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19853 | 15 |
al@21078 | 16 BUILD_DEPENDS="python3 bdftopcf patch" |
al@21010 | 17 SPLIT="$PACKAGE-x11 $PACKAGE-base $PACKAGE" |
al@19853 | 18 |
al@21010 | 19 compile_rules() { |
al@19853 | 20 for i in dv1 gq2 ij1 ll2 br1; do |
al@19853 | 21 [ -f "patch-$i.done" ] && continue |
al@19853 | 22 echo "Applying patch alt/$i.diff" |
al@19853 | 23 patch -Np1 -i alt/$i.diff 2>&1 | sed 's|^| |' |
al@19853 | 24 touch patch-$i.done |
al@19853 | 25 echo |
al@19853 | 26 done |
al@19853 | 27 |
al@19853 | 28 ./configure \ |
al@19853 | 29 --prefix=/usr \ |
al@19853 | 30 --psfdir=/usr/share/kbd/consolefonts \ |
al@19853 | 31 --x11dir=/usr/share/fonts/X11 && |
al@21010 | 32 make && |
al@21010 | 33 make DESTDIR=$install install || return 1 |
al@21010 | 34 |
al@21010 | 35 mv OFL.TXT OFL.txt |
al@21010 | 36 cook_pick_docs OFL.txt README README-BG CHANGES |
al@19853 | 37 } |
al@13778 | 38 |
al@21010 | 39 genpkg_rules() { |
al@19853 | 40 case $PACKAGE in |
al@19853 | 41 terminus-font-x11) |
al@19853 | 42 copy *.pcf* |
al@19853 | 43 CAT="x-window|Xorg pcf fonts" |
al@19854 | 44 DEPENDS=" " |
al@19853 | 45 ;; |
al@19853 | 46 terminus-font-base) |
al@19853 | 47 copy ter-v14n.* |
al@19853 | 48 CAT="system-tools|8x14 console font" |
al@19854 | 49 DEPENDS=" " |
al@19853 | 50 ;; |
al@19853 | 51 terminus-font) |
al@20513 | 52 copy @std @rm |
al@19853 | 53 CAT="system-tools|console fonts" |
al@19853 | 54 DEPENDS="terminus-font-base" |
al@19853 | 55 ;; |
al@19853 | 56 esac |
al@13778 | 57 } |